public static enum RecordLoop.Event extends Enum<RecordLoop.Event>
LoopEvent
types that can be fired by this loop.Enum Constant and Description |
---|
CONFIGURE
Fired once the
CONFIG or the SET_SOURCE command has been processed by this loop. |
FINISH
|
PROGRESS
Fired at certain intervals while this loop is processing records.
|
RESET
Fired once this loop has executed the
REWIND command. |
RESUME
|
START
|
SUSPEND
|
Modifier and Type | Method and Description |
---|---|
static RecordLoop.Event |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RecordLoop.Event[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RecordLoop.Event START
public static final RecordLoop.Event FINISH
public static final RecordLoop.Event RESUME
public static final RecordLoop.Event SUSPEND
public static final RecordLoop.Event CONFIGURE
CONFIG
or the SET_SOURCE
command has been processed by this loop.public static final RecordLoop.Event PROGRESS
public static final RecordLoop.Event RESET
REWIND
command.public static RecordLoop.Event[] values()
for (RecordLoop.Event c : RecordLoop.Event.values()) System.out.println(c);
public static RecordLoop.Event valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullCopyright © 2000-2012 FreeHEP. All Rights Reserved.