public enum ProgressEventType extends java.lang.Enum<ProgressEventType>
 Progress starts by emitting START, followed by emitting zero or more PROGRESS events,
 then it emits either one of ERROR/ABORT/SUCCESS.
 Progress indicates its completion by emitting COMPLETE at the end of process.
 
 NOTIFICATION event type is used to just notify message without progress.
 
| Enum Constant and Description | 
|---|
| ABORTWhen observing process is aborted by user, this is sent once before COMPLETE. | 
| COMPLETEFire when progress complete. | 
| ERRORWhen observing process completes with error, this is sent once before COMPLETE. | 
| NOTIFICATIONUsed when sending message without progress. | 
| PROGRESSFire when progress happens. | 
| STARTFired first when progress starts. | 
| SUCCESSWhen observing process completes successfully, this is sent once before COMPLETE. | 
| Modifier and Type | Method and Description | 
|---|---|
| static ProgressEventType | valueOf(java.lang.String name)Returns the enum constant of this type with the specified name. | 
| static ProgressEventType[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final ProgressEventType START
public static final ProgressEventType PROGRESS
public static final ProgressEventType ERROR
public static final ProgressEventType ABORT
public static final ProgressEventType SUCCESS
public static final ProgressEventType COMPLETE
public static final ProgressEventType NOTIFICATION
public static ProgressEventType[] values()
for (ProgressEventType c : ProgressEventType.values()) System.out.println(c);
public static ProgressEventType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullCopyright © 2018 The Apache Software Foundation