Package hudson.scm
Class IntegrityCheckpointAction.IntegrityCheckpointDescriptorImpl
java.lang.Object
hudson.model.Descriptor<hudson.tasks.Publisher>
hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher>
hudson.scm.IntegrityCheckpointAction.IntegrityCheckpointDescriptorImpl
- All Implemented Interfaces:
hudson.model.Saveable,jenkins.model.Loadable,jenkins.util.io.OnMaster
- Enclosing class:
IntegrityCheckpointAction
public static class IntegrityCheckpointAction.IntegrityCheckpointDescriptorImpl
extends hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher>
The relationship of Descriptor and IntegrityCheckpointAction (the describable) is akin to class
and object. This means the descriptor is used to create instances of the describable. Usually
the Descriptor is an internal class in the IntegrityCheckpointAction class named
DescriptorImpl.
-
Nested Class Summary
Nested classes/interfaces inherited from class hudson.model.Descriptor
hudson.model.Descriptor.FormException, hudson.model.Descriptor.PropertyType, hudson.model.Descriptor.Self -
Field Summary
FieldsFields inherited from class hudson.model.Descriptor
clazzFields inherited from interface hudson.model.Saveable
NOOP -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanconfigure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData) hudson.util.FormValidationdoCheckpointLabelCheck(String checkpointLabel) hudson.util.ListBoxModeldoFillServerConfigItems(String serverConfig) Provides a list box for users to choose from a list of Integrity Server configurationsReturns the defaultCheckpointLabel for a checkpointbooleanisApplicable(Class<? extends hudson.model.AbstractProject> jobType) hudson.tasks.PublishernewInstance(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData) Methods inherited from class hudson.tasks.BuildStepDescriptor
filterMethods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, configure, doHelp, doHelp, find, find, findByDescribableClassName, findById, getCategory, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getRequiredGlobalConfigPagePermission, getStaticHelpUrl, getStaticHelpUrl, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
Field Details
-
defaultCheckpointLabel
- See Also:
-
-
Constructor Details
-
IntegrityCheckpointDescriptorImpl
public IntegrityCheckpointDescriptorImpl()
-
-
Method Details
-
newInstance
public hudson.tasks.Publisher newInstance(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData) throws hudson.model.Descriptor.FormException - Overrides:
newInstancein classhudson.model.Descriptor<hudson.tasks.Publisher>- Throws:
hudson.model.Descriptor.FormException
-
getDisplayName
- Overrides:
getDisplayNamein classhudson.model.Descriptor<hudson.tasks.Publisher>
-
configure
public boolean configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData) throws hudson.model.Descriptor.FormException - Overrides:
configurein classhudson.model.Descriptor<hudson.tasks.Publisher>- Throws:
hudson.model.Descriptor.FormException
-
isApplicable
- Specified by:
isApplicablein classhudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher>
-
getCheckpointLabel
Returns the defaultCheckpointLabel for a checkpoint- Returns:
-
doFillServerConfigItems
Provides a list box for users to choose from a list of Integrity Server configurations- Parameters:
serverConfig- Simple configuration name- Returns:
-
doCheckpointLabelCheck
public hudson.util.FormValidation doCheckpointLabelCheck(@QueryParameter("value") String checkpointLabel) throws IOException, javax.servlet.ServletException - Throws:
IOExceptionjavax.servlet.ServletException
-