Class DirectiveGenerator

    • Constructor Detail

      • DirectiveGenerator

        public DirectiveGenerator()
    • Method Detail

      • getUrlName

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

        @Restricted(org.kohsuke.accmod.restrictions.DoNotUse.class)
        public org.kohsuke.stapler.HttpResponse doGenerateDirective​(org.kohsuke.stapler.StaplerRequest 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)