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
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoCheckScript(String value, String oldScript, boolean sandbox) net.sf.json.JSONdoCheckScriptCompile(Item job, String value) org.jenkinsci.plugins.workflow.flow.FlowDefinitionnewInstance(org.kohsuke.stapler.StaplerRequest2 req, net.sf.json.JSONObject formData) org.jenkinsci.plugins.workflow.flow.FlowDefinitionnewInstance(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData) Deprecated.booleanshouldHideSandbox(CpsFlowDefinition instance) Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, 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, newInstancesFromHeteroList, newInstancesFromHeteroList, 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.StaplerRequest2 req, @NonNull net.sf.json.JSONObject formData) throws Descriptor.FormException - Overrides:
newInstancein classDescriptor<org.jenkinsci.plugins.workflow.flow.FlowDefinition>- Throws:
Descriptor.FormException
-
newInstance
@Deprecated public org.jenkinsci.plugins.workflow.flow.FlowDefinition newInstance(@NonNull org.kohsuke.stapler.StaplerRequest req, @NonNull net.sf.json.JSONObject formData) throws Descriptor.FormException Deprecated.- Overrides:
newInstancein classDescriptor<org.jenkinsci.plugins.workflow.flow.FlowDefinition>- Throws:
Descriptor.FormException
-
getDisplayName
- Overrides:
getDisplayNamein 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)
-
newInstance(StaplerRequest2, JSONObject)