Class NotificationContextTrait

  • All Implemented Interfaces:
    ExtensionPoint, Describable<jenkins.scm.api.trait.SCMSourceTrait>

    public class NotificationContextTrait
    extends jenkins.scm.api.trait.SCMSourceTrait
    • Constructor Detail

      • NotificationContextTrait

        @DataBoundConstructor
        public NotificationContextTrait​(String contextLabel,
                                        boolean typeSuffix)
    • Method Detail

      • getContextLabel

        public String getContextLabel()
      • isTypeSuffix

        public boolean isTypeSuffix()
      • isMultipleStatuses

        public boolean isMultipleStatuses()
      • setMultipleStatuses

        @DataBoundSetter
        public void setMultipleStatuses​(boolean multipleStatuses)
      • getMultipleStatusDelimiter

        public String getMultipleStatusDelimiter()
      • setMultipleStatusDelimiter

        @DataBoundSetter
        public void setMultipleStatusDelimiter​(String multipleStatusDelimiter)
      • decorateContext

        protected void decorateContext​(jenkins.scm.api.trait.SCMSourceContext<?,​?> context)
        Overrides:
        decorateContext in class jenkins.scm.api.trait.SCMSourceTrait
      • includeCategory

        public boolean includeCategory​(@NonNull
                                       jenkins.scm.api.SCMHeadCategory category)
        Overrides:
        includeCategory in class jenkins.scm.api.trait.SCMSourceTrait