org.apache.oozie.util
Class GraphGenerator

java.lang.Object
  extended by org.apache.oozie.util.GraphGenerator

public class GraphGenerator
extends Object

Class to generate and plot runtime workflow DAG


Constructor Summary
GraphGenerator(String xml, JsonWorkflowJob job)
          C'tor
GraphGenerator(String xml, JsonWorkflowJob job, boolean showKill)
          C'tor
 
Method Summary
 void finalize()
          Overridden to thwart finalizer attack
 void write(OutputStream out)
          Stream the PNG file to client
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GraphGenerator

public GraphGenerator(String xml,
                      JsonWorkflowJob job,
                      boolean showKill)
C'tor

Parameters:
xml - The workflow definition XML
job - Current status of the job
showKill - Flag to whether show 'kill' node

GraphGenerator

public GraphGenerator(String xml,
                      JsonWorkflowJob job)
C'tor

Parameters:
xml -
job -
Method Detail

finalize

public final void finalize()
Overridden to thwart finalizer attack

Overrides:
finalize in class Object

write

public void write(OutputStream out)
           throws Exception
Stream the PNG file to client

Parameters:
out -
Throws:
Exception


Copyright © 2013 Apache Software Foundation. All Rights Reserved.