cn.signit.sdk.util.ListSignersBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of signit-java-sdk Show documentation
Show all versions of signit-java-sdk Show documentation
welcome use signit Java Sdk!
/*
* Copyright © 2018 signit.cn. All rights reserved.
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*/
package cn.signit.sdk.util;
import java.util.ArrayList;
import java.util.List;
import cn.signit.sdk.pojo.Signer;
public class ListSignersBuilder {
public static ListSignersBuilder newBuilder() {
return new ListSignersBuilder();
}
private ListSignersBuilder() {
}
private List SignerList;
public ListSignersBuilder withNewList() {
this.SignerList = new ArrayList();
return this;
}
public ListSignersBuilder withList(List SignerList) {
this.SignerList = SignerList;
return this;
}
public ListSignersBuilder addSigner(Signer signer) {
this.SignerList.add(signer);
return this;
}
public List build() {
return this.SignerList;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy