Class TopicsTrait

  • All Implemented Interfaces:
    Describable<jenkins.scm.api.trait.SCMNavigatorTrait>

    public class TopicsTrait
    extends jenkins.scm.api.trait.SCMNavigatorTrait
    Decorates a SCMNavigatorContext with GitHub topics
    • Constructor Detail

      • TopicsTrait

        @DataBoundConstructor
        public TopicsTrait​(@NonNull
                           String topicList)
        Stapler constructor.
        Parameters:
        topicList - a comma-separated list of topics
    • Method Detail

      • getTopics

        @NonNull
        public ArrayList<String> getTopics()
        Returns the topics
        Returns:
        the topics
      • getTopicList

        @NonNull
        public String getTopicList()
      • decorateContext

        protected void decorateContext​(jenkins.scm.api.trait.SCMNavigatorContext<?,​?> context)
        Overrides:
        decorateContext in class jenkins.scm.api.trait.SCMNavigatorTrait