當前位置: 首頁>>代碼示例>>Java>>正文


Java ToStringBuilder.toString方法代碼示例

本文整理匯總了Java中org.apache.commons.lang3.builder.ToStringBuilder.toString方法的典型用法代碼示例。如果您正苦於以下問題:Java ToStringBuilder.toString方法的具體用法?Java ToStringBuilder.toString怎麽用?Java ToStringBuilder.toString使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在org.apache.commons.lang3.builder.ToStringBuilder的用法示例。


在下文中一共展示了ToStringBuilder.toString方法的9個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的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();
}
 
開發者ID:hsj-xiaokang,項目名稱:springboot-shiro-cas-mybatis,代碼行數:23,代碼來源:AbstractRegisteredService.java

示例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();
}
 
開發者ID:hsj-xiaokang,項目名稱:springboot-shiro-cas-mybatis,代碼行數:22,代碼來源:AbstractRegisteredService.java

示例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();
}
 
開發者ID:mrluo735,項目名稱:cas-5.1.0,代碼行數:25,代碼來源:AbstractRegisteredService.java

示例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();
}
 
開發者ID:hsj-xiaokang,項目名稱:springboot-shiro-cas-mybatis,代碼行數:9,代碼來源:OAuthRegisteredService.java

示例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();
}
 
開發者ID:mrluo735,項目名稱:cas-5.1.0,代碼行數:14,代碼來源:OAuthRegisteredService.java

示例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();
}
 
開發者ID:Sixt,項目名稱:ja-micro,代碼行數:9,代碼來源:JsonRpcResponse.java

示例7: toString

import org.apache.commons.lang3.builder.ToStringBuilder; //導入方法依賴的package包/類
@Override
public String toString() {
    ToStringBuilder builder = new ToStringBuilder(this)
            .append("dBase", dBase)
            .append("number", number)
            .append("name", name());
    parent().ifPresent(p ->
            builder.append("parent.number", p.id()));
    return builder.toString();
}
 
開發者ID:yaroska,項目名稱:true_oop,代碼行數:11,代碼來源:H2Category.java

示例8: 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();
}
 
開發者ID:hsj-xiaokang,項目名稱:springboot-shiro-cas-mybatis,代碼行數:7,代碼來源:CasEnvironmentContextListener.java

示例9: 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


注:本文中的org.apache.commons.lang3.builder.ToStringBuilder.toString方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。