Primavera Integration API Release 8

com.primavera.integration.client.xml.xmlimporter.event
Enum ImportEvent

java.lang.Object
  extended by java.lang.Enum<ImportEvent>
      extended by 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.


Enum Constant Summary
GLOBAL_COMPLETED
           
GLOBAL_STARTED
           
OBJECT_COMPLETED
           
PROJECT_COMPLETED
           
PROJECT_STARTED
           
 
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.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

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
Method Detail

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

Primavera Integration API Release 8

Copyright © 2003, 2010, Oracle and/or its affiliates. All rights reserved.