Class BuildStatusNameCustomPartTrait

java.lang.Object
hudson.model.AbstractDescribableImpl<T>
jenkins.scm.api.trait.SCMTrait<jenkins.scm.api.trait.SCMSourceTrait>
jenkins.scm.api.trait.SCMSourceTrait
io.jenkins.plugins.gitlabbranchsource.BuildStatusNameCustomPartTrait
All Implemented Interfaces:
ExtensionPoint, Describable<jenkins.scm.api.trait.SCMSourceTrait>

public class BuildStatusNameCustomPartTrait extends jenkins.scm.api.trait.SCMSourceTrait
  • Constructor Details

    • BuildStatusNameCustomPartTrait

      @DataBoundConstructor public BuildStatusNameCustomPartTrait()
      Constructor for stapler.
  • Method Details

    • setBuildStatusNameCustomPart

      @DataBoundSetter public void setBuildStatusNameCustomPart(@NonNull String buildStatusNameCustomPart)
      Setter for stapler to set the buildStatusNameCustomPart of the build status
    • setBuildStatusNameOverwrite

      @DataBoundSetter public void setBuildStatusNameOverwrite(@NonNull Boolean buildStatusNameOverwrite)
    • setIgnoreTypeInStatusName

      @DataBoundSetter public void setIgnoreTypeInStatusName(@NonNull Boolean ignoreTypeInStatusName)
    • decorateContext

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

      @NonNull public String getBuildStatusNameCustomPart()
      Getter method for the build status context prefix
      Returns:
      build status context prefix
    • getBuildStatusNameOverwrite

      public boolean getBuildStatusNameOverwrite()
      Getter method for the build status name overwrite
      Returns:
      build status name overwrite option
    • getIgnoreTypeInStatusName

      public boolean getIgnoreTypeInStatusName()
      Getter method for the build status name overwrite
      Returns:
      build status name overwrite option