public final class GeneratedFileStatus extends Object
This class cannot be instantiated or subclassed by clients.
GeneratedFile.getStatus()
Modifier and Type | Field and Description |
---|---|
static GeneratedFileStatus |
CHANGED
The generated file already exists, but its contents differs from the previous one.
|
static GeneratedFileStatus |
NEW
The generated file is new, it did not exist before the evaluation started.
|
static GeneratedFileStatus |
UNCHANGED
The generated file already exists, and its contents is the same as from the previous one.
|
Modifier and Type | Method and Description |
---|---|
String |
toString()
Returns a
String representation of the file status. |
static GeneratedFileStatus |
valueOf(String value)
Determines the file status represented as a
String value. |
public static final GeneratedFileStatus NEW
public static final GeneratedFileStatus CHANGED
public static final GeneratedFileStatus UNCHANGED
public static GeneratedFileStatus valueOf(String value) throws IllegalArgumentException
String
value.value
- a String
representing a file status.IllegalArgumentException
- if the value is not recognized.