org.apache.oozie.workflow.lite
Class StartNodeDef

java.lang.Object
  extended by org.apache.oozie.workflow.lite.NodeDef
      extended by org.apache.oozie.workflow.lite.ControlNodeDef
          extended by org.apache.oozie.workflow.lite.StartNodeDef
All Implemented Interfaces:
org.apache.hadoop.io.Writable

public class StartNodeDef
extends ControlNodeDef

Workflow lite start node definition.


Field Summary
static String START
          Reserved name fo the start node.
 
Constructor Summary
StartNodeDef()
          Default constructor.
StartNodeDef(Class<? extends ControlNodeHandler> klass, String transitionTo)
          Create a start node definition.
 
Method Summary
 
Methods inherited from class org.apache.oozie.workflow.lite.NodeDef
equals, getConf, getCred, getHandlerClass, getName, getNodeDefVersion, getTransitions, getUserRetryInterval, getUserRetryMax, hashCode, readFields, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

START

public static final String START
Reserved name fo the start node.

It is an invalid token, it will never match an application node name.

See Also:
Constant Field Values
Constructor Detail

StartNodeDef

public StartNodeDef()
Default constructor.


StartNodeDef

public StartNodeDef(Class<? extends ControlNodeHandler> klass,
                    String transitionTo)
Create a start node definition.

Parameters:
klass - control node handler class.
transitionTo - transition on workflow start.


Copyright © 2012 Apache Software Foundation. All Rights Reserved.