com.pmease.quickbuild.repositorysupport
Class Modification
java.lang.Object
com.pmease.quickbuild.repositorysupport.Modification
- All Implemented Interfaces:
- java.io.Serializable
public class Modification
- extends java.lang.Object
- implements java.io.Serializable
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
UNCLEAR_PREFIX
public static final java.lang.String UNCLEAR_PREFIX
- See Also:
- Constant Field Values
Modification
public Modification()
getAction
public Modification.Action getAction()
- Get action of this modification. Action is a not null Java Enum with three possible values: ADD, DELETE and MODIFY.
setAction
public void setAction(Modification.Action action)
getPath
public java.lang.String getPath()
- Get path of the modified file/directory in repository. Will not be null.
setPath
public void setPath(java.lang.String path)
getEdition
public java.lang.String getEdition()
- Get edition of the modified file/directory. Null if unknown.
setEdition
public void setEdition(java.lang.String edition)
getPreviousEdition
public java.lang.String getPreviousEdition()
- Get edition of the file/directory before modification. Null if unknown.
setPreviousEdition
public void setPreviousEdition(java.lang.String previousEdition)
getPathType
public Modification.PathType getPathType()
- Get type of the path. Null if unknown.
setPathType
public void setPathType(Modification.PathType pathType)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
merge
public static void merge(java.util.List<Modification> mods1,
java.util.List<Modification> mods2)
- Merge the second list of modifications to the first list.
- Parameters:
modifications1
- modifications2
-
Copyright © 2005-2010 PMEase Inc. All Rights Reserved.