当前位置: 首页>>代码示例>>Java>>正文


Java ToStringBuilder.append方法代码示例

本文整理汇总了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();
}
 
开发者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() {
    final ToStringBuilder builder = new ToStringBuilder(this);
    builder.append(collectEnvironmentInfo());
    return builder.toString();
}
 
开发者ID:hsj-xiaokang,项目名称:springboot-shiro-cas-mybatis,代码行数:7,代码来源:CasEnvironmentContextListener.java

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


注:本文中的org.apache.commons.lang3.builder.ToStringBuilder.append方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。