public final class ChangedFile
extends java.lang.Object
ChangedFiles| Modifier and Type | Class and Description |
|---|---|
static class |
ChangedFile.Type
Change types.
|
| Constructor and Description |
|---|
ChangedFile(java.io.File sourceDirectory,
java.io.File file,
ChangedFile.Type type)
Create a new
ChangedFile instance. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.io.File |
getFile()
Return the file that was changed.
|
java.lang.String |
getRelativeName()
Return the name of the file relative to the source directory.
|
ChangedFile.Type |
getType()
Return the type of change.
|
int |
hashCode() |
java.lang.String |
toString() |
public ChangedFile(java.io.File sourceDirectory,
java.io.File file,
ChangedFile.Type type)
ChangedFile instance.sourceDirectory - the source directoryfile - the filetype - the type of changepublic java.io.File getFile()
public ChangedFile.Type getType()
public java.lang.String getRelativeName()
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object