Interface BitbucketBuildStatusCustomizer
- All Superinterfaces:
- ExtensionPoint
- 
Nested Class SummaryNested classes/interfaces inherited from interface hudson.ExtensionPointExtensionPoint.LegacyInstancesAreScopedToHudson
- 
Method SummaryModifier and TypeMethodDescriptiondefault voidapply(jenkins.scm.api.trait.SCMSourceTrait trait) Trait instance associate to aSCMSourcewhere gather extra configuration options.voidcustomize(Run<?, ?> build, BitbucketBuildStatus buildStatus) Apply some customisations to a given build status.booleanisApplicable(EndpointType type) Returns if this implementation supports the given endpoint type.default Collection<Class<? extends jenkins.scm.api.trait.SCMSourceTrait>>A list of traits class that this manager supports to obtain additional configuration options.default voidwithTraits(List<jenkins.scm.api.trait.SCMSourceTrait> traits) Convenient method to apply only supported traits to this customiser.
- 
Method Details- 
isApplicableReturns if this implementation supports the given endpoint type.- Parameters:
- type- of the endpoint
- Returns:
- trueif this implementation can manage API for this endpoint,- falseotherwise.
 
- 
applydefault void apply(jenkins.scm.api.trait.SCMSourceTrait trait) Trait instance associate to aSCMSourcewhere gather extra configuration options.Each BitbucketBuildStatusCustomizerthat would obtain additional configuration options per project must provide an own specific trait implementation.- Parameters:
- trait- to apply
 
- 
supportedTraitsA list of traits class that this manager supports to obtain additional configuration options.- Returns:
- a list of SCMSourceTraitclasses.
 
- 
customize@Restricted(org.kohsuke.accmod.restrictions.Beta.class) @CheckForNull void customize(Run<?, ?> build, @NonNull BitbucketBuildStatus buildStatus) Apply some customisations to a given build status.Any additional information must be supplied in the BitbucketBuildStatus.getOptionalData(). For tracing reason any changes if applied by the customizer it will be logged in the console.- Parameters:
- buildStatus- to customise
- build- current- Runjob.
 
- 
withTraitsConvenient method to apply only supported traits to this customiser.- Parameters:
- traits- to apply if supported too
 
 
-