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

website.automate.teamcity.server.io.model.ConfigurationSerializable Maven / Gradle / Ivy

package website.automate.teamcity.server.io.model;

import java.util.ArrayList;
import java.util.List;

import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamImplicit;

@XStreamAlias("configuration")
public class ConfigurationSerializable {

    @XStreamImplicit(itemFieldName="account")
    private List accounts = new ArrayList();
    
    public void addAccount(AccountSerializable account){
        this.accounts.add(account);
    }

    public List getAccounts() {
        return accounts;
    }

    public void setAccounts(List accounts) {
        this.accounts = new ArrayList(accounts);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy