Package hudson.plugins.dimensionsscm
Class DimensionsChangeLogEntry.FileChange
- java.lang.Object
-
- hudson.plugins.dimensionsscm.DimensionsChangeLogEntry.FileChange
-
- All Implemented Interfaces:
ChangeLogSet.AffectedFile
,Comparable<DimensionsChangeLogEntry.FileChange>
- Enclosing class:
- DimensionsChangeLogEntry
@ExportedBean(defaultVisibility=999) public static final class DimensionsChangeLogEntry.FileChange extends Object implements ChangeLogSet.AffectedFile, Comparable<DimensionsChangeLogEntry.FileChange>
An individual file-change made in the repository for this entry.
-
-
Constructor Summary
Constructors Constructor Description FileChange()
FileChange(String file, String operation, String url)
`file` is path name and revision separated by ';' character.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(DimensionsChangeLogEntry.FileChange that)
boolean
equals(Object obj)
EditType
getEditType()
String
getFile()
Returns the path name and revision (separated by ';') of the changed file.String
getOperation()
String
getPath()
Returns just the path name of the changed file.String
getUrl()
int
hashCode()
void
setFile(String file)
Set the `file`, which is the path name and revision, separated by ';'.void
setOperation(String operation)
void
setUrl(String url)
-
-
-
Method Detail
-
compareTo
public int compareTo(DimensionsChangeLogEntry.FileChange that)
- Specified by:
compareTo
in interfaceComparable<DimensionsChangeLogEntry.FileChange>
-
getUrl
@Exported public String getUrl()
-
getOperation
@Exported public String getOperation()
-
setOperation
public void setOperation(String operation)
-
setUrl
public void setUrl(String url)
-
getFile
@Exported public String getFile()
Returns the path name and revision (separated by ';') of the changed file.
-
setFile
public void setFile(String file)
Set the `file`, which is the path name and revision, separated by ';'.
-
getEditType
@Exported public EditType getEditType()
- Specified by:
getEditType
in interfaceChangeLogSet.AffectedFile
-
getPath
public String getPath()
Returns just the path name of the changed file.- Specified by:
getPath
in interfaceChangeLogSet.AffectedFile
-
-