Package jenkins.plugins.git.traits
Class DiscoverOtherRefsTrait
- java.lang.Object
-
- hudson.model.AbstractDescribableImpl<T>
-
- jenkins.scm.api.trait.SCMTrait<jenkins.scm.api.trait.SCMSourceTrait>
-
- jenkins.scm.api.trait.SCMSourceTrait
-
- jenkins.plugins.git.traits.DiscoverOtherRefsTrait
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<jenkins.scm.api.trait.SCMSourceTrait>
public class DiscoverOtherRefsTrait extends jenkins.scm.api.trait.SCMSourceTrait
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DiscoverOtherRefsTrait.DescriptorImpl
Our descriptor.-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description DiscoverOtherRefsTrait(String ref)
DiscoverOtherRefsTrait(String ref, String nameMapping)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
decorateContext(jenkins.scm.api.trait.SCMSourceContext<?,?> context)
String
getNameMapping()
String
getRef()
void
setNameMapping(String nameMapping)
-
-
-
Method Detail
-
getRef
public String getRef()
-
getNameMapping
public String getNameMapping()
-
setNameMapping
@DataBoundSetter public void setNameMapping(String nameMapping)
-
decorateContext
protected void decorateContext(jenkins.scm.api.trait.SCMSourceContext<?,?> context)
- Overrides:
decorateContext
in classjenkins.scm.api.trait.SCMSourceTrait
-
-