com.tek42.perforce.model
Class Changelist.FileEntry

java.lang.Object
  extended by 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

Nested Class Summary
static class Changelist.FileEntry.Action
           
 
Constructor Summary
Changelist.FileEntry()
           
 
Method Summary
 Changelist.FileEntry.Action getAction()
           
 String getChangenumber()
           
 hudson.scm.EditType getEditType()
           
 String getFilename()
           
 String getPath()
           
 String getRevision()
           
 String getWorkspacePath()
           
 void setAction(Changelist.FileEntry.Action action)
           
 void setChangenumber(String changenumber)
           
 void setFilename(String filename)
           
 void setRevision(String revision)
           
 void setWorkspacePath(String workspacePath)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Changelist.FileEntry

public Changelist.FileEntry()
Method Detail

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-2012 Hudson. All Rights Reserved.