Package jenkins.plugins.git
Class GitBranchSCMHead
java.lang.Object
jenkins.scm.api.SCMHead
jenkins.plugins.git.GitBranchSCMHead
- All Implemented Interfaces:
Serializable
,Comparable<jenkins.scm.api.SCMHead>
,GitSCMHeadMixin
,jenkins.scm.api.mixin.SCMHeadMixin
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class jenkins.scm.api.SCMHead
jenkins.scm.api.SCMHead.HeadByItem
Nested classes/interfaces inherited from interface jenkins.scm.api.mixin.SCMHeadMixin
jenkins.scm.api.mixin.SCMHeadMixin.Equality
-
Field Summary
Fields inherited from class jenkins.scm.api.SCMHead
PRONOUN
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class jenkins.scm.api.SCMHead
compareTo, equals, getAction, getAllActions, getName, getOrigin, getPronoun, hashCode
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.lang.Comparable
compareTo
Methods inherited from interface jenkins.scm.api.mixin.SCMHeadMixin
getName, getOrigin
-
Constructor Details
-
GitBranchSCMHead
Constructor.- Parameters:
name
- the name.
-
-
Method Details
-
getRef
Description copied from interface:GitSCMHeadMixin
The ref, e.g. /refs/heads/master- Specified by:
getRef
in interfaceGitSCMHeadMixin
- Returns:
- the ref
-
toString
- Overrides:
toString
in classjenkins.scm.api.SCMHead
-