com.tek42.perforce.model
Class Changelist.FileEntry
java.lang.Object
com.tek42.perforce.model.Changelist.FileEntry
- All Implemented Interfaces:
- hudson.scm.ChangeLogSet.AffectedFile, Serializable
- Enclosing class:
- Changelist
public static class Changelist.FileEntry
- extends Object
- implements Serializable, hudson.scm.ChangeLogSet.AffectedFile
Perforce has multiple files per change. This class represents a single file within a change which includes the
action, filename, and revision.
Implements AffectedFile interface in order to unify SCM logic
- Author:
- Mike Wille
- See Also:
- Serialized Form
Changelist.FileEntry
public Changelist.FileEntry()
toString
public String toString()
- Overrides:
toString in class Object
getAction
public Changelist.FileEntry.Action getAction()
- Returns:
- the action
setAction
public void setAction(Changelist.FileEntry.Action action)
- Parameters:
action - the action to set
getFilename
public String getFilename()
- Returns:
- the filename
setFilename
public void setFilename(String filename)
- Parameters:
filename - the filename to set
getRevision
public String getRevision()
- Returns:
- the revision
setRevision
public void setRevision(String revision)
- Parameters:
revision - the revision to set
getWorkspacePath
public String getWorkspacePath()
setWorkspacePath
public void setWorkspacePath(String workspacePath)
setChangenumber
public void setChangenumber(String changenumber)
getChangenumber
public String getChangenumber()
getPath
public String getPath()
- Specified by:
getPath in interface hudson.scm.ChangeLogSet.AffectedFile
getEditType
public hudson.scm.EditType getEditType()
- Specified by:
getEditType in interface hudson.scm.ChangeLogSet.AffectedFile
Copyright © 2004-2013 Hudson. All Rights Reserved.