All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cn.signit.sdk.util.ListSignersBuilder Maven / Gradle / Ivy

There is a newer version: 2.8.5
Show newest version
/*
 * 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