com.offbytwo.jenkins.model.ParameterDefinitions Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jenkins-client Show documentation
Show all versions of jenkins-client Show documentation
A Jenkins API client for Java
package com.offbytwo.jenkins.model;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessOrder;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorOrder;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
@XmlRootElement(name = "parameterDefinitions")
@XmlAccessorOrder(XmlAccessOrder.ALPHABETICAL)
@XmlAccessorType(XmlAccessType.FIELD)
public class ParameterDefinitions {
@XmlElement(name = "hudson.model.StringParameterDefinition")
List stringParams;
public ParameterDefinitions() {
stringParams = new ArrayList();
}
public ParameterDefinitions(List stringParams) {
this.stringParams = stringParams;
}
public List getStringParams() {
return stringParams;
}
public void setStringParams(List stringParams) {
this.stringParams = stringParams;
}
public void addParam(StringParameterDefinition spd) {
stringParams.add(spd);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy