com.neeve.aep
Enum AepScheduleEvent.State

java.lang.Object
  extended by java.lang.Enum<AepScheduleEvent.State>
      extended by com.neeve.aep.AepScheduleEvent.State
All Implemented Interfaces:
Serializable, Comparable<AepScheduleEvent.State>
Enclosing class:
AepScheduleEvent

public static enum AepScheduleEvent.State
extends Enum<AepScheduleEvent.State>

Enumerates a schedule event's states


Enum Constant Summary
Activated
          Schedule has been created activated and operational.
Cancelled
          Schedule cancellation is completed
Cancelling
          Application has initiated the cancel An application will not receive scheduled messages or events for this and cancelled state.
NotActivated
          Schedule has been created but not yet activated.
 
Method Summary
static AepScheduleEvent.State valueOf(String name)
          Returns the enum constant of this type with the specified name.
static AepScheduleEvent.State[] 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

NotActivated

public static final AepScheduleEvent.State NotActivated
Schedule has been created but not yet activated.


Activated

public static final AepScheduleEvent.State Activated
Schedule has been created activated and operational.


Cancelling

public static final AepScheduleEvent.State Cancelling
Application has initiated the cancel

An application will not receive scheduled messages or events for this and cancelled state.


Cancelled

public static final AepScheduleEvent.State Cancelled
Schedule cancellation is completed

Method Detail

values

public static AepScheduleEvent.State[] 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 (AepScheduleEvent.State c : AepScheduleEvent.State.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static AepScheduleEvent.State 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 © 2016 Neeve Research, LLC. All Rights Reserved.