public enum ActivateMode extends java.lang.Enum<ActivateMode>
Pad
. After activating a pad, which usually happens when
the parent element goes from State.READY
to State.PAUSED
, the
ActivateMode defines if the Pad
operates in push or pull mode.Enum Constant and Description |
---|
NONE
Pad will not handle dataflow
|
PULL
Pad handles dataflow in upstream pull mode
|
PUSH
Pad handles dataflow in downstream push mode
|
Modifier and Type | Method and Description |
---|---|
static ActivateMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ActivateMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ActivateMode NONE
public static final ActivateMode PUSH
public static final ActivateMode PULL
public static ActivateMode[] values()
for (ActivateMode c : ActivateMode.values()) System.out.println(c);
public static ActivateMode 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 namejava.lang.NullPointerException
- if the argument is null