com.primavera.integration.client.xml.xmlimporter.event
Enum ImportEvent
java.lang.Object
java.lang.Enum<ImportEvent>
com.primavera.integration.client.xml.xmlimporter.event.ImportEvent
- All Implemented Interfaces:
- Serializable, Comparable<ImportEvent>
public enum ImportEvent
- extends Enum<ImportEvent>
The event type used to define a notification in
ImportEventsListener
.
Method Summary |
static ImportEvent |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ImportEvent[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
GLOBAL_STARTED
public static final ImportEvent GLOBAL_STARTED
GLOBAL_COMPLETED
public static final ImportEvent GLOBAL_COMPLETED
PROJECT_STARTED
public static final ImportEvent PROJECT_STARTED
PROJECT_COMPLETED
public static final ImportEvent PROJECT_COMPLETED
OBJECT_COMPLETED
public static final ImportEvent OBJECT_COMPLETED
values
public static ImportEvent[] 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 (ImportEvent c : ImportEvent.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static ImportEvent 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.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
Copyright © 2003, 2010, Oracle and/or its affiliates. All rights reserved.