hudson.plugins.perforce
Class PerforceChangeLogEntry

java.lang.Object
  extended by hudson.scm.ChangeLogSet.Entry
      extended by hudson.plugins.perforce.PerforceChangeLogEntry

public class PerforceChangeLogEntry
extends hudson.scm.ChangeLogSet.Entry

Perforce Implementation of ChangeLogSet.Entry. This is a 1 to 1 mapping of Perforce changelists.

Note: Internally, within the plugin we use an actual Perforce Change object in place of this.

Author:
Mike Wille

Constructor Summary
PerforceChangeLogEntry(PerforceChangeLogSet parent)
           
 
Method Summary
 Collection<Changelist.FileEntry> getAffectedFiles()
           
 Collection<String> getAffectedPaths()
           
 hudson.model.User getAuthor()
           
 Changelist getChange()
           
 String getChangeNumber()
           
 String getChangeTime()
           
 String getCurrentRevision()
          
 String getDate()
           
 String getMsg()
           
 String getRevision()
           
 String getUser()
           
 void setChange(Changelist change)
           
 
Methods inherited from class hudson.scm.ChangeLogSet.Entry
getCommitId, getMsgAnnotated, getMsgEscaped, getParent, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PerforceChangeLogEntry

public PerforceChangeLogEntry(PerforceChangeLogSet parent)
Method Detail

getAuthor

public hudson.model.User getAuthor()

getUser

public String getUser()

getAffectedFiles

public Collection<Changelist.FileEntry> getAffectedFiles()
Overrides:
getAffectedFiles in class hudson.scm.ChangeLogSet.Entry

getAffectedPaths

public Collection<String> getAffectedPaths()

getMsg

public String getMsg()

getChangeNumber

@Exported
public String getChangeNumber()

getRevision

public String getRevision()

getChangeTime

@Exported
public String getChangeTime()

getDate

public String getDate()

getCurrentRevision

public String getCurrentRevision()

Overrides:
getCurrentRevision in class hudson.scm.ChangeLogSet.Entry

getChange

public Changelist getChange()
Returns:
the change

setChange

public void setChange(Changelist change)
Parameters:
change - the change to set


Copyright © 2004-2013 Hudson. All Rights Reserved.