org.apache.falcon.oozie.workflow
Class WORKFLOWAPP

java.lang.Object
  extended by org.apache.falcon.oozie.workflow.WORKFLOWAPP

public class WORKFLOWAPP
extends Object

Java class for WORKFLOW-APP complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="WORKFLOW-APP">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="start" type="{uri:oozie:workflow:0.3}START"/>
         <choice maxOccurs="unbounded" minOccurs="0">
           <element name="decision" type="{uri:oozie:workflow:0.3}DECISION"/>
           <element name="fork" type="{uri:oozie:workflow:0.3}FORK"/>
           <element name="join" type="{uri:oozie:workflow:0.3}JOIN"/>
           <element name="kill" type="{uri:oozie:workflow:0.3}KILL"/>
           <element name="action" type="{uri:oozie:workflow:0.3}ACTION"/>
         </choice>
         <element name="end" type="{uri:oozie:workflow:0.3}END"/>
         <any namespace='uri:oozie:sla:0.1' minOccurs="0"/>
       </sequence>
       <attribute name="name" use="required" type="{uri:oozie:workflow:0.3}IDENTIFIER" />
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  Object any
           
protected  List<Object> decisionOrForkOrJoin
           
protected  END end
           
protected  String name
           
protected  START start
           
 
Constructor Summary
WORKFLOWAPP()
           
 
Method Summary
 Object getAny()
          Gets the value of the any property.
 List<Object> getDecisionOrForkOrJoin()
          Gets the value of the decisionOrForkOrJoin property.
 END getEnd()
          Gets the value of the end property.
 String getName()
          Gets the value of the name property.
 START getStart()
          Gets the value of the start property.
 void setAny(Object value)
          Sets the value of the any property.
 void setEnd(END value)
          Sets the value of the end property.
 void setName(String value)
          Sets the value of the name property.
 void setStart(START value)
          Sets the value of the start property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

start

protected START start

decisionOrForkOrJoin

protected List<Object> decisionOrForkOrJoin

end

protected END end

any

protected Object any

name

protected String name
Constructor Detail

WORKFLOWAPP

public WORKFLOWAPP()
Method Detail

getStart

public START getStart()
Gets the value of the start property.

Returns:
possible object is START

setStart

public void setStart(START value)
Sets the value of the start property.

Parameters:
value - allowed object is START

getDecisionOrForkOrJoin

public List<Object> getDecisionOrForkOrJoin()
Gets the value of the decisionOrForkOrJoin property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the decisionOrForkOrJoin property.

For example, to add a new item, do as follows:

    getDecisionOrForkOrJoin().add(newItem);
 

Objects of the following type(s) are allowed in the list FORK ACTION DECISION KILL JOIN


getEnd

public END getEnd()
Gets the value of the end property.

Returns:
possible object is END

setEnd

public void setEnd(END value)
Sets the value of the end property.

Parameters:
value - allowed object is END

getAny

public Object getAny()
Gets the value of the any property.

Returns:
possible object is Object

setAny

public void setAny(Object value)
Sets the value of the any property.

Parameters:
value - allowed object is Object

getName

public String getName()
Gets the value of the name property.

Returns:
possible object is String

setName

public void setName(String value)
Sets the value of the name property.

Parameters:
value - allowed object is String


Copyright © 2013-2014 Apache Software Foundation. All Rights Reserved.