Class CpsFlowDefinition.DescriptorImpl
java.lang.Object
hudson.model.Descriptor<org.jenkinsci.plugins.workflow.flow.FlowDefinition>
org.jenkinsci.plugins.workflow.flow.FlowDefinitionDescriptor
org.jenkinsci.plugins.workflow.cps.CpsFlowDefinition.DescriptorImpl
- Enclosing class:
- CpsFlowDefinition
@Extension
public static class CpsFlowDefinition.DescriptorImpl
extends org.jenkinsci.plugins.workflow.flow.FlowDefinitionDescriptor
-
Nested Class Summary
Nested classes/interfaces inherited from class hudson.model.Descriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self
-
Field Summary
Fields inherited from class hudson.model.Descriptor
clazz
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondoCheckScript
(String value, String oldScript, boolean sandbox) net.sf.json.JSON
doCheckScriptCompile
(Item job, String value) org.jenkinsci.plugins.workflow.flow.FlowDefinition
newInstance
(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData) boolean
shouldHideSandbox
(CpsFlowDefinition instance) Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, configure, 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, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
Constructor Details
-
DescriptorImpl
public DescriptorImpl()
-
-
Method Details
-
newInstance
public org.jenkinsci.plugins.workflow.flow.FlowDefinition newInstance(@NonNull org.kohsuke.stapler.StaplerRequest req, @NonNull net.sf.json.JSONObject formData) throws Descriptor.FormException - Overrides:
newInstance
in classDescriptor<org.jenkinsci.plugins.workflow.flow.FlowDefinition>
- Throws:
Descriptor.FormException
-
getDisplayName
- Overrides:
getDisplayName
in classDescriptor<org.jenkinsci.plugins.workflow.flow.FlowDefinition>
-
doCheckScript
public FormValidation doCheckScript(@QueryParameter String value, @QueryParameter String oldScript, @QueryParameter boolean sandbox) -
doCheckScriptCompile
-
shouldHideSandbox
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public boolean shouldHideSandbox(@CheckForNull CpsFlowDefinition instance)
-