de.cau.cs.kieler.kiml.graphviz.layouter
Enum GraphvizTool.Cleanup

java.lang.Object
  extended by java.lang.Enum<GraphvizTool.Cleanup>
      extended by de.cau.cs.kieler.kiml.graphviz.layouter.GraphvizTool.Cleanup
All Implemented Interfaces:
Comparable<GraphvizTool.Cleanup>
Enclosing class:
GraphvizTool

public static enum GraphvizTool.Cleanup
extends Enum<GraphvizTool.Cleanup>

Available cleanup modes.

Rating red

Enum Constant Summary
ERROR
          read error output and stop the Graphviz process.
NORMAL
          normal cleanup.
STOP
          stop the Graphviz process and the watcher thread.
 
Method Summary
static GraphvizTool.Cleanup valueOf(String name)
          Returns the enum constant of this type with the specified name.
static GraphvizTool.Cleanup[] 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

NORMAL

public static final GraphvizTool.Cleanup NORMAL
normal cleanup.


ERROR

public static final GraphvizTool.Cleanup ERROR
read error output and stop the Graphviz process.


STOP

public static final GraphvizTool.Cleanup STOP
stop the Graphviz process and the watcher thread.

Method Detail

values

public static GraphvizTool.Cleanup[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (GraphvizTool.Cleanup c : GraphvizTool.Cleanup.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static GraphvizTool.Cleanup valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null