Package jenkins.plugins.git
Class GitSCMSourceContext.RefNameMapping
- java.lang.Object
-
- jenkins.plugins.git.GitSCMSourceContext.RefNameMapping
-
- All Implemented Interfaces:
Comparable<GitSCMSourceContext.RefNameMapping>
- Enclosing class:
- GitSCMSourceContext<C extends GitSCMSourceContext<C,R>,R extends GitSCMSourceRequest>
public static final class GitSCMSourceContext.RefNameMapping extends Object implements Comparable<GitSCMSourceContext.RefNameMapping>
-
-
Constructor Summary
Constructors Constructor Description RefNameMapping(String ref, String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(GitSCMSourceContext.RefNameMapping o)
boolean
equals(Object o)
String
getName()
String
getName(String remoteName)
String
getRef()
int
hashCode()
boolean
matches(String remoteName)
boolean
matches(String revision, String remoteName, String remoteRev)
-
-
-
Method Detail
-
getRef
@NonNull public String getRef()
-
getName
@NonNull public String getName()
-
compareTo
public int compareTo(GitSCMSourceContext.RefNameMapping o)
- Specified by:
compareTo
in interfaceComparable<GitSCMSourceContext.RefNameMapping>
-
matches
public boolean matches(String remoteName)
-
-