public enum NodeEmitterTokens extends Enum<NodeEmitterTokens> implements IEmitterTokens
Modifier and Type | Method and Description |
---|---|
String |
getToken() |
static NodeEmitterTokens |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NodeEmitterTokens[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NodeEmitterTokens REQUIRE
public static final NodeEmitterTokens EXPORTS
public static NodeEmitterTokens[] values()
for (NodeEmitterTokens c : NodeEmitterTokens.values()) System.out.println(c);
public static NodeEmitterTokens valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getToken()
getToken
in interface IEmitterTokens
Copyright © 2016 The Apache Software Foundation. All rights reserved.