spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/condition/ConditionMessage.java
/**
		 * Indicates the reason. For example {@code because("running Linux")} results in
		 * the message "running Linux".
		 * @param reason the reason for the message
		 * @return a built {@link ConditionMessage}
		 */
Indicates the reason. For example  because("running Linux") results in
the message "running Linux".
@param reason the reason for the message
@return a built  ConditionMessage
Indicates the reason . For example because ( " running Linux " ) results in the message " running Linux " . @param reason the reason for the message @return a built ConditionMessage
public ConditionMessage because(String reason) {
			if (StringUtils.hasLength(reason)) {
				return new ConditionMessage(ConditionMessage.this,
						StringUtils.hasLength(this.condition) ? this.condition + " " + reason : reason);
			}
			return new ConditionMessage(ConditionMessage.this, this.condition);
		}
public ConditionMessage because ( String reason ) { if ( StringUtils . hasLength ( reason ) ) { return new ConditionMessage ( ConditionMessage . this , StringUtils . hasLength ( this . condition ) ? this . condition + " " + reason : reason ) ; } return new ConditionMessage ( ConditionMessage . this , this . condition ) ; }
Indicates the reason.
Indicates the reason .