saker.build Documentation TaskDoc JavaDoc Packages
public enum DeltaType
Enumeration for possible task delta types.
Enumeration constants
An environment property changed.
An execution property changed.
An input file was added.
An input file has changed.
For tasks which have no previous state.
An output file changed.
If the previous output of the task failed to load.
For task related changes.
Methods
public static DeltaType
Returns the enum constant of this type with the specified name.
public static DeltaType[]
Returns an array containing the constants of this enum type, in the order they are declared.
For tasks which have no previous state.

This delta is used when the task is run for the first time.

If the previous output of the task failed to load.

This can happen due to I/O error, the task threw an exception, or other arbitrary internal reasons.

For task related changes.

This can happen when the TaskFactory for the given task has changed. (i.e. the implementation of the task for the given task identifier changed)
When any of input dependency tasks have changed.
The working or build directory path has been changed.
Incompatible configuration change compared to the previous run. (E.g. build directory no longer present)
Other implementation dependent internal reasons.

public static DeltaType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
IllegalArgumentExceptionIf this enum type has no constant with the specified name.
NullPointerExceptionIf the argument is null.
The enum constant with the specified name.
public static DeltaType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (DeltaType c : DeltaType.values())
    System.out.println(c);
An array containing the constants of this enum type, in the order they are declared.