Package | Description |
---|---|
jenkins.scm.api.trait |
An API/SPI to allow the sharing of common traits between different
SCMSource and
SCMNavigator implementations. |
Modifier and Type | Class and Description |
---|---|
class |
SCMBuilder<B extends SCMBuilder<B,S>,S extends SCM>
Builder for a
SCM instance. |
Modifier and Type | Method and Description |
---|---|
Class<? extends SCMBuilder> |
SCMSourceTraitDescriptor.getBuilderClass()
Returns the type of
SCMBuilder that this SCMSourceTrait is applicable to. |
Modifier and Type | Method and Description |
---|---|
void |
SCMSourceTrait.applyToBuilder(SCMBuilder<?,?> builder)
Applies this trait to the
SCMBuilder . |
protected void |
SCMSourceTrait.decorateBuilder(SCMBuilder<?,?> builder)
SPI: Override this method to decorate a
SCMBuilder . |
boolean |
SCMSourceTraitDescriptor.isApplicableToBuilder(SCMBuilder<?,?> builder)
Checks if the
SCMSourceTrait is relevant to the specified SCMBuilder . |
Modifier and Type | Method and Description |
---|---|
static List<SCMSourceTraitDescriptor> |
SCMSourceTrait._for(Class<? extends SCMSourceContext> contextClass,
Class<? extends SCMBuilder> builderClass)
Returns the subset of
SCMSourceTraitDescriptor instances that are applicable to the specified types
of SCMSourceContext and SCMSourceBuilder . |
static List<SCMSourceTraitDescriptor> |
SCMSourceTrait._for(SCMSourceDescriptor scmSource,
Class<? extends SCMSourceContext> contextClass,
Class<? extends SCMBuilder> builderClass)
Returns the subset of
SCMSourceTraitDescriptor instances that are applicable to the specified
SCMSourceDescriptor and specified types of SCMNavigatorContext and SCMSourceBuilder . |
boolean |
SCMSourceTraitDescriptor.isApplicableToBuilder(Class<? extends SCMBuilder> builderClass)
Checks if the
SCMSourceTrait is relevant to the specified type of SCMBuilder . |
Copyright © 2016–2022. All rights reserved.