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 class
ServiceNowParameterDefinition.DescriptorImpl
static interface
ServiceNowParameterDefinition.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 String
PARAMETER_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 int
compareTo(ServiceNowParameterDefinition o)
static ServiceNowParameterDefinition
createFrom(String value)
ParameterValue
createValue(org.kohsuke.stapler.StaplerRequest staplerRequest)
ParameterValue
createValue(org.kohsuke.stapler.StaplerRequest staplerRequest, net.sf.json.JSONObject jsonObject)
boolean
equals(Object obj)
String
getAppScope()
String
getBatchRollbackId()
String
getCredentialsForInstalledApp()
String
getCredentialsForPublishedApp()
ServiceNowParameterDefinition.DescriptorImpl
getDescriptor()
String
getInstanceForInstalledAppUrl()
String
getInstanceForPublishedAppUrl()
Integer
getProgressCheckInterval()
String
getPublishedAppVersion()
String
getRollbackAppVersion()
String
getSysId()
int
hashCode()
-
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:
createValue
in classParameterDefinition
-
createValue
public ParameterValue createValue(org.kohsuke.stapler.StaplerRequest staplerRequest)
- Specified by:
createValue
in classParameterDefinition
-
createFrom
public static ServiceNowParameterDefinition createFrom(String value)
-
getDescriptor
public ServiceNowParameterDefinition.DescriptorImpl getDescriptor()
- Specified by:
getDescriptor
in interfaceDescribable<ParameterDefinition>
- Overrides:
getDescriptor
in classParameterDefinition
-
compareTo
public int compareTo(ServiceNowParameterDefinition o)
- Specified by:
compareTo
in interfaceComparable<ServiceNowParameterDefinition>
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classParameterDefinition
-
equals
public boolean equals(Object obj)
- Overrides:
equals
in classParameterDefinition
-
-