org.ow2.util.pool.impl.enhanced.impl.listener.resizer
Enum UpdateMethod
java.lang.Object
java.lang.Enum<UpdateMethod>
org.ow2.util.pool.impl.enhanced.impl.listener.resizer.UpdateMethod
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<UpdateMethod>
public enum UpdateMethod
- extends java.lang.Enum<UpdateMethod>
- Author:
- Gael Lalire
| Methods inherited from class java.lang.Enum |
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
NEVER
public static final UpdateMethod NEVER
BEFORE
public static final UpdateMethod BEFORE
AFTER_SUCCESSFUL
public static final UpdateMethod AFTER_SUCCESSFUL
BEFORE_AFTER_SUCCESSFUL
public static final UpdateMethod BEFORE_AFTER_SUCCESSFUL
AFTER_FAILED
public static final UpdateMethod AFTER_FAILED
BEFORE_AFTER_FAILED
public static final UpdateMethod BEFORE_AFTER_FAILED
AFTER
public static final UpdateMethod AFTER
ALWAYS
public static final UpdateMethod ALWAYS
values
public static final UpdateMethod[] values()
- Returns an array containing the constants of this enum type, in
the order they're declared. This method may be used to iterate
over the constants as follows:
for(UpdateMethod c : UpdateMethod.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they're declared
valueOf
public static UpdateMethod 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
isBefore
public boolean isBefore()
isAfterSuccessful
public boolean isAfterSuccessful()
isAfterFailed
public boolean isAfterFailed()
Copyright © 2007-2009 OW2 Consortium. All Rights Reserved.