VisualizeStateMachine (Apache Hadoop YARN Common 3.5.0 API)
Description: declaration: package: org.apache.hadoop.yarn.state, class: VisualizeStateMachine

Package org.apache.hadoop.yarn.state

# Class VisualizeStateMachine

java.lang.Object
org.apache.hadoop.yarn.state.VisualizeStateMachine

@Private public class VisualizeStateMachine extends Object

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `VisualizeStateMachine()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static Graph`
  `getGraphFromClasses(String graphName, List<String> classes)`
  get Graph From Classes.
  `static void`
  `main(String[] args)`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### VisualizeStateMachine

    public VisualizeStateMachine()

- ## Method Details

  - ### getGraphFromClasses

    public static Graph getGraphFromClasses(String graphName, List<String> classes) throws Exception
    get Graph From Classes.
    Parameters:
      `graphName` - graphName.
      `classes` - list of classes which have static field stateMachineFactory of type StateMachineFactory
    Returns:
      graph represent this StateMachine
    Throws:
      `Exception` - exception occurs.

  - ### main

    public static void main(String[] args) throws Exception
    Throws:
      `Exception`