Package com.deltawalker.script
Enum Class Comparison.State
- All Implemented Interfaces:
Serializable,Comparable<Comparison.State>,Constable
- Enclosing interface:
Comparison
The states reported to a
ComparisonListener through
ComparisonEvent.getState().
When a long-running job begins, an event with the corresponding
_STARTED state is sent, for instance COMPARE_STARTED;
when it finishes, the corresponding _ENDED event follows, in this
case COMPARE_ENDED. While a comparison runs, events with the
WORKING state may be sent.
In the current release SYNC_STARTED and SYNC_ENDED are
not sent.
- Since:
- 2.0
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe comparison was closed.A compare job has finished.A compare job has started.A text merge job has finished.A text merge job has started.A print job has finished.A print job has started.A report job has finished.A report job has started.A folder synchronization job has finished.A folder synchronization job has started.A job such as compare, merge, sync, print or report is in progress. -
Method Summary
Modifier and TypeMethodDescriptionstatic Comparison.StateReturns the enum constant of this class with the specified name.static Comparison.State[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
CLOSED
The comparison was closed. -
COMPARE_ENDED
A compare job has finished. -
COMPARE_STARTED
A compare job has started. -
MERGE_ENDED
A text merge job has finished. -
MERGE_STARTED
A text merge job has started. -
PRINT_ENDED
A print job has finished. -
PRINT_STARTED
A print job has started. -
REPORT_ENDED
A report job has finished. -
REPORT_STARTED
A report job has started. -
SYNC_ENDED
A folder synchronization job has finished. Not sent in the current release. -
SYNC_STARTED
A folder synchronization job has started. Not sent in the current release. -
WORKING
A job such as compare, merge, sync, print or report is in progress.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-