本文整理匯總了Java中org.apache.commons.lang3.builder.ToStringBuilder.append方法的典型用法代碼示例。如果您正苦於以下問題:Java ToStringBuilder.append方法的具體用法?Java ToStringBuilder.append怎麽用?Java ToStringBuilder.append使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類org.apache.commons.lang3.builder.ToStringBuilder
的用法示例。
在下文中一共展示了ToStringBuilder.append方法的8個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。
示例1: toString
import org.apache.commons.lang3.builder.ToStringBuilder; //導入方法依賴的package包/類
@Override
public String toString() {
final ToStringBuilder toStringBuilder = new ToStringBuilder(null, ToStringStyle.SHORT_PREFIX_STYLE);
toStringBuilder.append("id", this.id);
toStringBuilder.append("name", this.name);
toStringBuilder.append("description", this.description);
toStringBuilder.append("serviceId", this.serviceId);
toStringBuilder.append("usernameAttributeProvider", this.usernameAttributeProvider);
toStringBuilder.append("theme", this.theme);
toStringBuilder.append("evaluationOrder", this.evaluationOrder);
toStringBuilder.append("logoutType", this.logoutType);
toStringBuilder.append("attributeReleasePolicy", this.attributeReleasePolicy);
toStringBuilder.append("accessStrategy", this.accessStrategy);
toStringBuilder.append("publicKey", this.publicKey);
toStringBuilder.append("proxyPolicy", this.proxyPolicy);
toStringBuilder.append("logo", this.logo);
toStringBuilder.append("logoutUrl", this.logoutUrl);
toStringBuilder.append("requiredHandlers", this.requiredHandlers);
toStringBuilder.append("properties", this.properties);
return toStringBuilder.toString();
}
示例2: toString
import org.apache.commons.lang3.builder.ToStringBuilder; //導入方法依賴的package包/類
@Override
public String toString() {
final ToStringBuilder toStringBuilder = new ToStringBuilder(null, ToStringStyle.SHORT_PREFIX_STYLE);
toStringBuilder.append("id", this.id);
toStringBuilder.append("name", this.name);
toStringBuilder.append("description", this.description);
toStringBuilder.append("serviceId", this.serviceId);
toStringBuilder.append("usernameAttributeProvider", this.usernameAttributeProvider);
toStringBuilder.append("theme", this.theme);
toStringBuilder.append("evaluationOrder", this.evaluationOrder);
toStringBuilder.append("logoutType", this.logoutType);
toStringBuilder.append("attributeReleasePolicy", this.attributeReleasePolicy);
toStringBuilder.append("accessStrategy", this.accessStrategy);
toStringBuilder.append("publicKey", this.publicKey);
toStringBuilder.append("proxyPolicy", this.proxyPolicy);
toStringBuilder.append("logo", this.logo);
toStringBuilder.append("logoutUrl", this.logoutUrl);
toStringBuilder.append("requiredHandlers", this.requiredHandlers);
return toStringBuilder.toString();
}
示例3: toString
import org.apache.commons.lang3.builder.ToStringBuilder; //導入方法依賴的package包/類
@Override
public String toString() {
final ToStringBuilder toStringBuilder = new ToStringBuilder(null, ToStringStyle.SHORT_PREFIX_STYLE);
toStringBuilder.append("id", this.id);
toStringBuilder.append("name", this.name);
toStringBuilder.append("description", this.description);
toStringBuilder.append("serviceId", this.serviceId);
toStringBuilder.append("usernameAttributeProvider", this.usernameAttributeProvider);
toStringBuilder.append("theme", this.theme);
toStringBuilder.append("evaluationOrder", this.evaluationOrder);
toStringBuilder.append("logoutType", this.logoutType);
toStringBuilder.append("attributeReleasePolicy", this.attributeReleasePolicy);
toStringBuilder.append("accessStrategy", this.accessStrategy);
toStringBuilder.append("publicKey", this.publicKey);
toStringBuilder.append("proxyPolicy", this.proxyPolicy);
toStringBuilder.append("logo", this.logo);
toStringBuilder.append("logoutUrl", this.logoutUrl);
toStringBuilder.append("requiredHandlers", this.requiredHandlers);
toStringBuilder.append("properties", this.properties);
toStringBuilder.append("multifactorPolicy", this.multifactorPolicy);
toStringBuilder.append("informationUrl", this.informationUrl);
toStringBuilder.append("privacyUrl", this.privacyUrl);
return toStringBuilder.toString();
}
示例4: toString
import org.apache.commons.lang3.builder.ToStringBuilder; //導入方法依賴的package包/類
@Override
public String toString() {
final ToStringBuilder builder = new ToStringBuilder(this);
builder.appendSuper(super.toString());
builder.append("clientId", getClientId());
builder.append("approvalPrompt", isBypassApprovalPrompt());
return builder.toString();
}
示例5: toString
import org.apache.commons.lang3.builder.ToStringBuilder; //導入方法依賴的package包/類
@Override
public String toString() {
final ToStringBuilder builder = new ToStringBuilder(this);
builder.appendSuper(super.toString());
builder.append("clientId", getClientId());
builder.append("approvalPrompt", isBypassApprovalPrompt());
builder.append("generateRefreshToken", isGenerateRefreshToken());
builder.append("jsonFormat", isJsonFormat());
builder.append("supportedResponseTypes", getSupportedResponseTypes());
builder.append("supportedGrantTypes", getSupportedGrantTypes());
return builder.toString();
}
示例6: toString
import org.apache.commons.lang3.builder.ToStringBuilder; //導入方法依賴的package包/類
@Override
public String toString() {
ToStringBuilder builder = new ToStringBuilder(this);
builder.append(ID_FIELD, getId());
builder.append(RESULT_FIELD, getResult());
builder.append(ERROR_FIELD, getError());
return builder.toString();
}
示例7: toString
import org.apache.commons.lang3.builder.ToStringBuilder; //導入方法依賴的package包/類
@Override
public String toString() {
final ToStringBuilder builder = new ToStringBuilder(this);
builder.append(collectEnvironmentInfo());
return builder.toString();
}
示例8: toString
import org.apache.commons.lang3.builder.ToStringBuilder; //導入方法依賴的package包/類
@Override
public String toString() {
final ToStringBuilder toStringBuilder = new ToStringBuilder(null, ToStringStyle.SHORT_PREFIX_STYLE);
toStringBuilder.append("usernameAttribute", this.usernameAttribute);
return toStringBuilder.toString();
}
開發者ID:hsj-xiaokang,項目名稱:springboot-shiro-cas-mybatis,代碼行數:7,代碼來源:PrincipalAttributeRegisteredServiceUsernameProvider.java