|
Avaya Conferencing Provider API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<StateChange>
com.avaya.conferencing.api.acp.control.operations.StateChange
public enum StateChange
Describes the different types of state change that can be effected.
| Enum Constant Summary | |
|---|---|
OFF
Turns the state off. |
|
ON
Turns the state on. |
|
TOGGLE
Toggles the state. |
|
| Method Summary | ||
|---|---|---|
abstract boolean |
eval(boolean isOn,
boolean on,
boolean off)
Evaluates between two different values depending on the current state and the type of state change. |
|
abstract byte |
eval(boolean isOn,
byte on,
byte off)
Evaluates between two different values depending on the current state and the type of state change. |
|
abstract char |
eval(boolean isOn,
char on,
char off)
Evaluates between two different values depending on the current state and the type of state change. |
|
abstract double |
eval(boolean isOn,
double on,
double off)
Evaluates between two different values depending on the current state and the type of state change. |
|
abstract float |
eval(boolean isOn,
float on,
float off)
Evaluates between two different values depending on the current state and the type of state change. |
|
abstract int |
eval(boolean isOn,
int on,
int off)
Evaluates between two different values depending on the current state and the type of state change. |
|
abstract long |
eval(boolean isOn,
long on,
long off)
Evaluates between two different values depending on the current state and the type of state change. |
|
abstract short |
eval(boolean isOn,
short on,
short off)
Evaluates between two different values depending on the current state and the type of state change. |
|
abstract
|
eval(boolean isOn,
T on,
T off)
Evaluates between two different values depending on the current state and the type of state change. |
|
static StateChange |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
|
static StateChange[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
|
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final StateChange TOGGLE
public static final StateChange OFF
public static final StateChange ON
| Method Detail |
|---|
public static StateChange[] values()
for (StateChange c : StateChange.values()) System.out.println(c);
public static StateChange valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is null
public abstract <T> T eval(boolean isOn,
T on,
T off)
T - The type-parameter.isOn - true if the state is currently on.on - The value to return to turn the state on.off - The value to return to turn the state off.
public abstract int eval(boolean isOn,
int on,
int off)
isOn - true if the state is currently on.on - The value to return to turn the state on.off - The value to return to turn the state off.
public abstract long eval(boolean isOn,
long on,
long off)
isOn - true if the state is currently on.on - The value to return to turn the state on.off - The value to return to turn the state off.
public abstract short eval(boolean isOn,
short on,
short off)
isOn - true if the state is currently on.on - The value to return to turn the state on.off - The value to return to turn the state off.
public abstract boolean eval(boolean isOn,
boolean on,
boolean off)
isOn - true if the state is currently on.on - The value to return to turn the state on.off - The value to return to turn the state off.
public abstract char eval(boolean isOn,
char on,
char off)
isOn - true if the state is currently on.on - The value to return to turn the state on.off - The value to return to turn the state off.
public abstract byte eval(boolean isOn,
byte on,
byte off)
isOn - true if the state is currently on.on - The value to return to turn the state on.off - The value to return to turn the state off.
public abstract float eval(boolean isOn,
float on,
float off)
isOn - true if the state is currently on.on - The value to return to turn the state on.off - The value to return to turn the state off.
public abstract double eval(boolean isOn,
double on,
double off)
isOn - true if the state is currently on.on - The value to return to turn the state on.off - The value to return to turn the state off.
|
Avaya Conferencing Provider API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||