public enum DebugLevel extends Enum<DebugLevel> implements PlannerLevel
Debug
instance. This is used in conjunction with the
FlowConnector
to plan debug operations out of a particular Flow
instance.
Currently Debug can be denote either DEFAULT or VERBOSE. It is up to the developer to determine if a Debug operation
should be at any given level.Modifier and Type | Method and Description |
---|---|
boolean |
isNoneLevel()
Returns true if this enum instance represents a value that instructs the
FlowPlanner to
remove all instances from the plan. |
boolean |
isStricterThan(PlannerLevel plannerLevel)
Returns true if the given
PlannerLevel is less strict than this instance. |
static DebugLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DebugLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DebugLevel NONE
public static final DebugLevel DEFAULT
public static final DebugLevel VERBOSE
public static DebugLevel[] values()
for (DebugLevel c : DebugLevel.values()) System.out.println(c);
public static DebugLevel 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 boolean isNoneLevel()
PlannerLevel
FlowPlanner
to
remove all instances from the plan.isNoneLevel
in interface PlannerLevel
public boolean isStricterThan(PlannerLevel plannerLevel)
PlannerLevel
PlannerLevel
is less strict than this instance.isStricterThan
in interface PlannerLevel
plannerLevel
- of type PlannerLevelCopyright © 2007-2015 Concurrent, Inc. All Rights Reserved.