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 intcompareTo(Object obj)booleanequals(Object obj)longgetChange()P4ChangeEntrygetChangeEntry(ClientHelper p4)longgetDate()List<com.perforce.p4java.core.file.IFileSpec>getFiles(ConnectionHelper p4, int limit)StringgetRepo()StringgetSha()inthashCode()booleanisCommit()booleanisLabel()StringtoString()
-
-
-
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:
getChangeEntryin 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:
compareToin interfaceComparable
-
-