Package org.jenkinsci.plugins.p4.changes
Class P4GraphRef
- java.lang.Object
-
- org.jenkinsci.plugins.p4.changes.P4GraphRef
-
- All Implemented Interfaces:
Serializable
,Comparable
,P4Ref
public class P4GraphRef extends Object implements P4Ref
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description P4GraphRef(String repo, com.perforce.p4java.graph.ICommit commit)
P4GraphRef(ConnectionHelper p4, String id)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(Object obj)
boolean
equals(Object obj)
long
getChange()
P4ChangeEntry
getChangeEntry(ClientHelper p4)
long
getDate()
List<com.perforce.p4java.core.file.IFileSpec>
getFiles(ConnectionHelper p4, int limit)
String
getRepo()
String
getSha()
int
hashCode()
boolean
isCommit()
boolean
isLabel()
String
toString()
-
-
-
Constructor Detail
-
P4GraphRef
public P4GraphRef(ConnectionHelper p4, String id) throws com.perforce.p4java.exception.P4JavaException
- Throws:
com.perforce.p4java.exception.P4JavaException
-
P4GraphRef
public P4GraphRef(String repo, com.perforce.p4java.graph.ICommit commit)
-
-
Method Detail
-
getChangeEntry
public P4ChangeEntry getChangeEntry(ClientHelper p4) throws Exception
- Specified by:
getChangeEntry
in interfaceP4Ref
- Throws:
Exception
-
getFiles
public List<com.perforce.p4java.core.file.IFileSpec> getFiles(ConnectionHelper p4, int limit) throws Exception
-
getDate
public long getDate()
-
getRepo
public String getRepo()
-
getSha
public String getSha()
-
toString
public String toString()
-
compareTo
public int compareTo(Object obj)
- Specified by:
compareTo
in interfaceComparable
-
-