org.jenkinsci.plugins.graniteclient
Class PackageChoiceParameterDefinition
java.lang.Object
hudson.model.ParameterDefinition
org.jenkinsci.plugins.graniteclient.PackageChoiceParameterDefinition
- All Implemented Interfaces:
- hudson.ExtensionPoint, hudson.model.Describable<hudson.model.ParameterDefinition>, Serializable
public class PackageChoiceParameterDefinition
- extends hudson.model.ParameterDefinition
Implementation of the "CRX Content Package Choice Parameter" type
- See Also:
- Serialized Form
Nested classes/interfaces inherited from class hudson.model.ParameterDefinition |
hudson.model.ParameterDefinition.ParameterDescriptor |
Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
Fields inherited from class hudson.model.ParameterDefinition |
LIST |
Constructor Summary |
PackageChoiceParameterDefinition(String name,
String description,
String baseUrl,
String credentialsId,
long requestTimeout,
long serviceTimeout,
boolean multiselect,
boolean excludeNotInstalled,
boolean excludeModified,
long visibleItemCount,
String query,
String packageIdFilter,
String value)
|
Methods inherited from class hudson.model.ParameterDefinition |
all, copyWithDefaultValue, createValue, getDefaultParameterValue, getDescription, getDescriptor, getName, getType |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PackageChoiceParameterDefinition
@DataBoundConstructor
public PackageChoiceParameterDefinition(String name,
String description,
String baseUrl,
String credentialsId,
long requestTimeout,
long serviceTimeout,
boolean multiselect,
boolean excludeNotInstalled,
boolean excludeModified,
long visibleItemCount,
String query,
String packageIdFilter,
String value)
createValue
public hudson.model.ParameterValue createValue(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject jo)
- Specified by:
createValue
in class hudson.model.ParameterDefinition
createValue
public hudson.model.ParameterValue createValue(org.kohsuke.stapler.StaplerRequest req)
- Specified by:
createValue
in class hudson.model.ParameterDefinition
constructDefaultValue
protected PackageChoiceParameterValue constructDefaultValue()
constructValue
protected PackageChoiceParameterValue constructValue(String value)
constructValue
protected PackageChoiceParameterValue constructValue(net.sf.json.JSONArray values)
constructValue
protected PackageChoiceParameterValue constructValue(Iterator values)
constructValue
protected PackageChoiceParameterValue constructValue(String[] values)
getPackageList
public List<net.adamcin.granite.client.packman.PackId> getPackageList()
getSelectedPackIds
public List<net.adamcin.granite.client.packman.PackId> getSelectedPackIds()
getBaseUrl
public String getBaseUrl()
setBaseUrl
public void setBaseUrl(String baseUrl)
getCredentialsId
public String getCredentialsId()
setCredentialsId
public void setCredentialsId(String credentialsId)
getRequestTimeout
public long getRequestTimeout()
setRequestTimeout
public void setRequestTimeout(long requestTimeout)
getServiceTimeout
public long getServiceTimeout()
setServiceTimeout
public void setServiceTimeout(long serviceTimeout)
isMultiselect
public boolean isMultiselect()
setMultiselect
public void setMultiselect(boolean multiselect)
getVisibleItemCount
public long getVisibleItemCount()
setVisibleItemCount
public void setVisibleItemCount(long visibleItemCount)
isExcludeNotInstalled
public boolean isExcludeNotInstalled()
setExcludeNotInstalled
public void setExcludeNotInstalled(boolean excludeNotInstalled)
isExcludeModified
public boolean isExcludeModified()
setExcludeModified
public void setExcludeModified(boolean excludeModified)
getQuery
public String getQuery()
setQuery
public void setQuery(String query)
getPackageIdFilter
public String getPackageIdFilter()
setPackageIdFilter
public void setPackageIdFilter(String packageIdFilter)
getValue
public String getValue()
setValue
public void setValue(String value)
getEffectiveValue
public String getEffectiveValue()
getPackIdFilter
public net.adamcin.granite.client.packman.PackIdFilter getPackIdFilter()
Copyright © 2013-2014. All Rights Reserved.