java.lang.Object
org.jenkinsci.plugins.workflow.cps.Snippetizer
org.jenkinsci.plugins.pipeline.modeldefinition.generator.DirectiveGenerator
All Implemented Interfaces:
ExtensionPoint, Action, DescriptorByNameOwner, ModelObject, RootAction

@Extension public class DirectiveGenerator extends org.jenkinsci.plugins.workflow.cps.Snippetizer
  • Field Details

  • Constructor Details

    • DirectiveGenerator

      public DirectiveGenerator()
  • Method Details

    • getUrlName

      public String getUrlName()
      Specified by:
      getUrlName in interface Action
      Overrides:
      getUrlName in class org.jenkinsci.plugins.workflow.cps.Snippetizer
    • getDirectives

      @NonNull public List<DirectiveDescriptor> getDirectives()
    • doGenerateDirective

      @Restricted(org.kohsuke.accmod.restrictions.DoNotUse.class) public org.kohsuke.stapler.HttpResponse doGenerateDirective(org.kohsuke.stapler.StaplerRequest2 req, @QueryParameter String json) throws Exception
      Throws:
      Exception
    • mapToClosure

      @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public static String mapToClosure(Map<String,?> args)
    • getSymbolForDescriptor

      @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public static String getSymbolForDescriptor(Descriptor d)