public final class Delta
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Delta.DeltaKind
An enumeration of possible kind of deltas.
|
| Constructor and Description |
|---|
Delta(java.io.File project,
java.io.File referrerFolder,
java.io.File delta,
Delta.DeltaKind deltaKind,
FolderKind refererFolderKind)
Instantiates a new delta on given file.
|
| Modifier and Type | Method and Description |
|---|---|
java.io.File |
getDelta()
Gets the resource that have been modified.
|
Delta.DeltaKind |
getDeltaKind()
Gets the kind of this delta.
|
java.io.File |
getProject()
Gets the root folder of the project that holds the resource of this delta.
|
java.io.File |
getReferrerFolder()
Gets the referrer folder of this delta.
|
FolderKind |
getReferrerFolderKind()
Gets the kind of the referrer folder of this delta.
|
public Delta(java.io.File project,
java.io.File referrerFolder,
java.io.File delta,
Delta.DeltaKind deltaKind,
FolderKind refererFolderKind)
project - the project associated with this delta.referrerFolder - the folder that holds the created delta.delta - the delta file.deltaKind - the kind of changed applied to the delta file.refererFolderKind - the referrer folder kind.public java.io.File getProject()
public java.io.File getDelta()
public java.io.File getReferrerFolder()
For example, for a Java source file creation, the referrer folder is the source folder that contains the created Java source file.
public Delta.DeltaKind getDeltaKind()
public FolderKind getReferrerFolderKind()