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
All Implemented Interfaces:
Saveable, OnMaster
Enclosing class:
CpsFlowDefinition

@Extension public static class CpsFlowDefinition.DescriptorImpl extends org.jenkinsci.plugins.workflow.flow.FlowDefinitionDescriptor
  • 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 class Descriptor<org.jenkinsci.plugins.workflow.flow.FlowDefinition>
      Throws:
      Descriptor.FormException
    • getDisplayName

      public String getDisplayName()
      Overrides:
      getDisplayName in class Descriptor<org.jenkinsci.plugins.workflow.flow.FlowDefinition>
    • doCheckScript

      public FormValidation doCheckScript(@QueryParameter String value, @QueryParameter String oldScript, @QueryParameter boolean sandbox)
    • doCheckScriptCompile

      public net.sf.json.JSON doCheckScriptCompile(@AncestorInPath Item job, @QueryParameter String value)
    • shouldHideSandbox

      @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public boolean shouldHideSandbox(@CheckForNull CpsFlowDefinition instance)