Package org.jenkinsci.plugins.p4.changes
Class P4ChangeEntry
- java.lang.Object
-
- hudson.scm.ChangeLogSet.Entry
-
- org.jenkinsci.plugins.p4.changes.P4ChangeEntry
-
public class P4ChangeEntry extends ChangeLogSet.Entry
-
-
Constructor Summary
Constructors Constructor Description P4ChangeEntry()
P4ChangeEntry(P4ChangeSet parent)
-
Method Summary
-
Methods inherited from class hudson.scm.ChangeLogSet.Entry
getMsgAnnotated, getMsgEscaped, getParent, setParent
-
-
-
-
Constructor Detail
-
P4ChangeEntry
public P4ChangeEntry(P4ChangeSet parent)
-
P4ChangeEntry
public P4ChangeEntry()
-
-
Method Detail
-
setChange
public void setChange(ConnectionHelper p4, com.perforce.p4java.core.IChangelistSummary changelist) throws Exception
- Throws:
Exception
-
setLabel
public void setLabel(ConnectionHelper p4, String labelId) throws Exception
- Throws:
Exception
-
setGraphCommit
public void setGraphCommit(ConnectionHelper p4, String id) throws Exception
- Throws:
Exception
-
setGraphCommit
public void setGraphCommit(ConnectionHelper p4, String repo, String sha) throws Exception
- Throws:
Exception
-
getChangeNumber
@Exported public String getChangeNumber()
-
getChangeTime
@Exported public String getChangeTime()
-
getId
public P4Ref getId()
-
setId
public void setId(P4Ref value)
-
getAuthor
public User getAuthor()
- Specified by:
getAuthor
in classChangeLogSet.Entry
-
setAuthor
public void setAuthor(String value)
-
getDate
public Date getDate()
-
setDate
public void setDate(String value)
-
setClientId
public void setClientId(String value)
-
getClientId
public String getClientId()
-
getMsg
public String getMsg()
- Specified by:
getMsg
in classChangeLogSet.Entry
-
getRows
public int getRows()
-
setMsg
public void setMsg(String value)
-
getAffectedPaths
public Collection<String> getAffectedPaths()
- Specified by:
getAffectedPaths
in classChangeLogSet.Entry
-
getAffectedFiles
public Collection<P4AffectedFile> getAffectedFiles()
- Overrides:
getAffectedFiles
in classChangeLogSet.Entry
-
addAffectedFiles
public void addAffectedFiles(P4AffectedFile file)
-
setFileLimit
public void setFileLimit(boolean value)
-
isFileLimit
public boolean isFileLimit()
-
getAction
public String getAction(com.perforce.p4java.core.file.IFileSpec file)
-
setShelved
public void setShelved(boolean value)
-
isShelved
public boolean isShelved()
-
isLabel
public boolean isLabel()
-
getJobs
public List<com.perforce.p4java.core.IFix> getJobs()
-
addJob
public void addJob(com.perforce.p4java.core.IFix job)
-
getJobStatus
public String getJobStatus(com.perforce.p4java.core.IFix job)
-
getMaxLimit
public int getMaxLimit()
-
getTimestamp
@Exported public long getTimestamp()
- Overrides:
getTimestamp
in classChangeLogSet.Entry
-
getCommitId
@Exported public String getCommitId()
- Overrides:
getCommitId
in classChangeLogSet.Entry
-
-