ariba.util.core
Enum Pool.PoolChangeReason

java.lang.Object
  extended by java.lang.Enum<Pool.PoolChangeReason>
      extended by ariba.util.core.Pool.PoolChangeReason
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Pool.PoolChangeReason>
Enclosing class:
Pool

public static enum Pool.PoolChangeReason
extends java.lang.Enum<Pool.PoolChangeReason>

Used with poolChange method to indicate the reason the pool was changed.


Enum Constant Summary
Add
           
Allocate
           
Release
           
Remove
           
 
Method Summary
static Pool.PoolChangeReason valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Pool.PoolChangeReason[] 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

Add

public static final Pool.PoolChangeReason Add

Remove

public static final Pool.PoolChangeReason Remove

Allocate

public static final Pool.PoolChangeReason Allocate

Release

public static final Pool.PoolChangeReason Release
Method Detail

values

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

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

valueOf

public static Pool.PoolChangeReason valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null


AribaWeb User Interface Development Framework
Copyright © 2000-2014 Ariba, Inc. All Rights Reserved.