Class WorkflowJob.DescriptorImpl

    • Constructor Detail

      • DescriptorImpl

        public DescriptorImpl()
    • Method Detail

      • getCategoryId

        @NonNull
        public String getCategoryId()
        Needed if it wants Pipeline jobs are categorized in Jenkins 2.x. TODO: Replace to StandaloneProjectsCategory.ID
        Overrides:
        getCategoryId in class TopLevelItemDescriptor
        Returns:
        A string it represents a ItemCategory identifier.
      • getDescription

        @NonNull
        public String getDescription()
        Needed if it wants Pipeline jobs are categorized in Jenkins 2.x.
        Overrides:
        getDescription in class TopLevelItemDescriptor
        Returns:
        A string with the Item description.
      • getIconFilePathPattern

        public String getIconFilePathPattern()
        Needed if it wants Pipeline jobs are categorized in Jenkins 2.x.
        Overrides:
        getIconFilePathPattern in class TopLevelItemDescriptor
        Returns:
        A string it represents a URL pattern to get the Item icon in different sizes.
      • getDefinitionDescriptors

        @Restricted(org.kohsuke.accmod.restrictions.DoNotUse.class)
        public Collection<org.jenkinsci.plugins.workflow.flow.FlowDefinitionDescriptor> getDefinitionDescriptors​(WorkflowJob context)
        TODO JENKINS-20020 can delete this in case f:dropdownDescriptorSelector defaults to applying h.filterDescriptors