public enum PadLinkReturn extends java.lang.Enum<PadLinkReturn> implements IntegerEnum
Pad.link(Pad)
and friends.Enum Constant and Description |
---|
__UNKNOWN_NATIVE_VALUE
The default enum value used when no other value matches the native value
|
NOFORMAT
Pads do not have common format.
|
NOSCHED
Pads cannot cooperate in scheduling.
|
OK
Link succeeded.
|
REFUSED
Refused for some reason.
|
WAS_LINKED
Pad was already linked.
|
WRONG_DIRECTION
Pads have wrong direction.
|
WRONG_HIERARCHY
Pads have no common grandparent.
|
Modifier and Type | Method and Description |
---|---|
int |
intValue()
Gets the integer value of the enum.
|
static PadLinkReturn |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PadLinkReturn[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PadLinkReturn OK
public static final PadLinkReturn WRONG_HIERARCHY
public static final PadLinkReturn WAS_LINKED
public static final PadLinkReturn WRONG_DIRECTION
public static final PadLinkReturn NOFORMAT
public static final PadLinkReturn NOSCHED
public static final PadLinkReturn REFUSED
public static final PadLinkReturn __UNKNOWN_NATIVE_VALUE
public static PadLinkReturn[] values()
for (PadLinkReturn c : PadLinkReturn.values()) System.out.println(c);
public static PadLinkReturn 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 nullpublic int intValue()
intValue
in interface IntegerEnum