Class ServiceNowParameterDefinition
- java.lang.Object
-
- hudson.model.ParameterDefinition
-
- io.jenkins.plugins.servicenow.parameter.ServiceNowParameterDefinition
-
- All Implemented Interfaces:
ExtensionPoint,Describable<ParameterDefinition>,Serializable,Comparable<ServiceNowParameterDefinition>
public class ServiceNowParameterDefinition extends ParameterDefinition implements Comparable<ServiceNowParameterDefinition>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classServiceNowParameterDefinition.DescriptorImplstatic interfaceServiceNowParameterDefinition.PARAMS_NAMES-
Nested classes/interfaces inherited from class hudson.model.ParameterDefinition
ParameterDefinition.ParameterDescriptor
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Field Summary
Fields Modifier and Type Field Description static StringPARAMETER_NAME-
Fields inherited from class hudson.model.ParameterDefinition
LIST
-
-
Constructor Summary
Constructors Constructor Description ServiceNowParameterDefinition(String name)ServiceNowParameterDefinition(String name, String description)ServiceNowParameterDefinition(String description, String credentialsForPublishedApp, String instanceForPublishedAppUrl, String credentialsForInstalledApp, String instanceForInstalledAppUrl, String sysId, String appScope, String publishedAppVersion, String rollbackAppVersion, String batchRollbackId, Integer progressCheckInterval)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(ServiceNowParameterDefinition o)static ServiceNowParameterDefinitioncreateFrom(String value)ParameterValuecreateValue(org.kohsuke.stapler.StaplerRequest staplerRequest)ParameterValuecreateValue(org.kohsuke.stapler.StaplerRequest staplerRequest, net.sf.json.JSONObject jsonObject)booleanequals(Object obj)StringgetAppScope()StringgetBatchRollbackId()StringgetCredentialsForInstalledApp()StringgetCredentialsForPublishedApp()ServiceNowParameterDefinition.DescriptorImplgetDescriptor()StringgetInstanceForInstalledAppUrl()StringgetInstanceForPublishedAppUrl()IntegergetProgressCheckInterval()StringgetPublishedAppVersion()StringgetRollbackAppVersion()StringgetSysId()inthashCode()-
Methods inherited from class hudson.model.ParameterDefinition
all, copyWithDefaultValue, createValue, getDefaultParameterValue, getDescription, getFormattedDescription, getName, getType, isValid, setDescription
-
-
-
-
Field Detail
-
PARAMETER_NAME
public static final String PARAMETER_NAME
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ServiceNowParameterDefinition
public ServiceNowParameterDefinition(String name)
-
ServiceNowParameterDefinition
public ServiceNowParameterDefinition(String name, String description)
-
ServiceNowParameterDefinition
@DataBoundConstructor public ServiceNowParameterDefinition(String description, String credentialsForPublishedApp, String instanceForPublishedAppUrl, String credentialsForInstalledApp, String instanceForInstalledAppUrl, String sysId, String appScope, String publishedAppVersion, String rollbackAppVersion, String batchRollbackId, Integer progressCheckInterval)
-
-
Method Detail
-
getCredentialsForPublishedApp
public String getCredentialsForPublishedApp()
-
getInstanceForPublishedAppUrl
public String getInstanceForPublishedAppUrl()
-
getCredentialsForInstalledApp
public String getCredentialsForInstalledApp()
-
getInstanceForInstalledAppUrl
public String getInstanceForInstalledAppUrl()
-
getSysId
public String getSysId()
-
getAppScope
public String getAppScope()
-
getPublishedAppVersion
public String getPublishedAppVersion()
-
getRollbackAppVersion
public String getRollbackAppVersion()
-
getBatchRollbackId
public String getBatchRollbackId()
-
getProgressCheckInterval
public Integer getProgressCheckInterval()
-
createValue
public ParameterValue createValue(org.kohsuke.stapler.StaplerRequest staplerRequest, net.sf.json.JSONObject jsonObject)
- Specified by:
createValuein classParameterDefinition
-
createValue
public ParameterValue createValue(org.kohsuke.stapler.StaplerRequest staplerRequest)
- Specified by:
createValuein classParameterDefinition
-
createFrom
public static ServiceNowParameterDefinition createFrom(String value)
-
getDescriptor
public ServiceNowParameterDefinition.DescriptorImpl getDescriptor()
- Specified by:
getDescriptorin interfaceDescribable<ParameterDefinition>- Overrides:
getDescriptorin classParameterDefinition
-
compareTo
public int compareTo(ServiceNowParameterDefinition o)
- Specified by:
compareToin interfaceComparable<ServiceNowParameterDefinition>
-
hashCode
public int hashCode()
- Overrides:
hashCodein classParameterDefinition
-
equals
public boolean equals(Object obj)
- Overrides:
equalsin classParameterDefinition
-
-