org.jboss.shrinkwrap.descriptor.api.jobXML10.Flow Maven / Gradle / Ivy
package org.jboss.shrinkwrap.descriptor.api.jobXML10;
import java.util.ArrayList;
import java.util.List;
import org.jboss.shrinkwrap.descriptor.api.Child;
import org.jboss.shrinkwrap.descriptor.api.jobXML10.Decision;
import org.jboss.shrinkwrap.descriptor.api.jobXML10.Flow;
import org.jboss.shrinkwrap.descriptor.api.jobXML10.Split;
import org.jboss.shrinkwrap.descriptor.api.jobXML10.Step;
import org.jboss.shrinkwrap.descriptor.api.jobXML10.End;
import org.jboss.shrinkwrap.descriptor.api.jobXML10.Fail;
import org.jboss.shrinkwrap.descriptor.api.jobXML10.Next;
import org.jboss.shrinkwrap.descriptor.api.jobXML10.Stop;
import org.jboss.shrinkwrap.descriptor.api.jobXML.*;
import org.jboss.shrinkwrap.descriptor.api.jobXML.JslFlowCommType;
import org.jboss.shrinkwrap.descriptor.api.jobXML10.Decision;
import org.jboss.shrinkwrap.descriptor.api.jobXML10.Flow;
import org.jboss.shrinkwrap.descriptor.api.jobXML10.Split;
import org.jboss.shrinkwrap.descriptor.api.jobXML10.Step;/**
* This interface defines the contract for the Flow
xsd type
* @author Ralf Battenfeld
* @author Andrew Lee Rubinger
*/
public interface Flow extends Child,
JslFlowCommType,
Decision>,
Flow>,
Split>,
Step>> {
// --------------------------------------------------------------------------------------------------------||
// ClassName: Flow ElementName: jsl:End ElementType : end
// MaxOccurs: -unbounded isGeneric: true isAttribute: false isEnum: false isDataType: false
// --------------------------------------------------------------------------------------------------------||
/**
* If not already created, a new end
element will be created and returned.
* Otherwise, the first existing end
element will be returned.
* @return the instance defined for the element end
*/
public End> getOrCreateEnd();
/**
* Creates a new end
element
* @return the new created instance of End>
*/
public End> createEnd();
/**
* Returns all end
elements
* @return list of end
*/
public List>> getAllEnd();
/**
* Removes all end
elements
* @return the current instance of End>
*/
public Flow removeAllEnd();
// --------------------------------------------------------------------------------------------------------||
// ClassName: Flow ElementName: jsl:Fail ElementType : fail
// MaxOccurs: -unbounded isGeneric: true isAttribute: false isEnum: false isDataType: false
// --------------------------------------------------------------------------------------------------------||
/**
* If not already created, a new fail
element will be created and returned.
* Otherwise, the first existing fail
element will be returned.
* @return the instance defined for the element fail
*/
public Fail> getOrCreateFail();
/**
* Creates a new fail
element
* @return the new created instance of Fail>
*/
public Fail> createFail();
/**
* Returns all fail
elements
* @return list of fail
*/
public List>> getAllFail();
/**
* Removes all fail
elements
* @return the current instance of Fail>
*/
public Flow removeAllFail();
// --------------------------------------------------------------------------------------------------------||
// ClassName: Flow ElementName: jsl:Next ElementType : next
// MaxOccurs: -unbounded isGeneric: true isAttribute: false isEnum: false isDataType: false
// --------------------------------------------------------------------------------------------------------||
/**
* If not already created, a new next
element will be created and returned.
* Otherwise, the first existing next
element will be returned.
* @return the instance defined for the element next
*/
public Next> getOrCreateNext();
/**
* Creates a new next
element
* @return the new created instance of Next>
*/
public Next> createNext();
/**
* Returns all next
elements
* @return list of next
*/
public List>> getAllNext();
/**
* Removes all next
elements
* @return the current instance of Next>
*/
public Flow removeAllNext();
// --------------------------------------------------------------------------------------------------------||
// ClassName: Flow ElementName: jsl:Stop ElementType : stop
// MaxOccurs: -unbounded isGeneric: true isAttribute: false isEnum: false isDataType: false
// --------------------------------------------------------------------------------------------------------||
/**
* If not already created, a new stop
element will be created and returned.
* Otherwise, the first existing stop
element will be returned.
* @return the instance defined for the element stop
*/
public Stop> getOrCreateStop();
/**
* Creates a new stop
element
* @return the new created instance of Stop>
*/
public Stop> createStop();
/**
* Returns all stop
elements
* @return list of stop
*/
public List>> getAllStop();
/**
* Removes all stop
elements
* @return the current instance of Stop>
*/
public Flow removeAllStop();
// --------------------------------------------------------------------------------------------------------||
// ClassName: Flow ElementName: jsl:Decision ElementType : decision
// MaxOccurs: -unbounded isGeneric: true isAttribute: false isEnum: false isDataType: false
// --------------------------------------------------------------------------------------------------------||
/**
* If not already created, a new decision
element will be created and returned.
* Otherwise, the first existing decision
element will be returned.
* @return the instance defined for the element decision
*/
public Decision> getOrCreateDecision();
/**
* Creates a new decision
element
* @return the new created instance of Decision>
*/
public Decision> createDecision();
/**
* Returns all decision
elements
* @return list of decision
*/
public List>> getAllDecision();
/**
* Removes all decision
elements
* @return the current instance of Decision>
*/
public Flow removeAllDecision();
// --------------------------------------------------------------------------------------------------------||
// ClassName: Flow ElementName: jsl:Flow ElementType : flow
// MaxOccurs: -unbounded isGeneric: true isAttribute: false isEnum: false isDataType: false
// --------------------------------------------------------------------------------------------------------||
/**
* If not already created, a new flow
element will be created and returned.
* Otherwise, the first existing flow
element will be returned.
* @return the instance defined for the element flow
*/
public Flow> getOrCreateFlow();
/**
* Creates a new flow
element
* @return the new created instance of Flow>
*/
public Flow> createFlow();
/**
* Returns all flow
elements
* @return list of flow
*/
public List>> getAllFlow();
/**
* Removes all flow
elements
* @return the current instance of Flow>
*/
public Flow removeAllFlow();
// --------------------------------------------------------------------------------------------------------||
// ClassName: Flow ElementName: jsl:Split ElementType : split
// MaxOccurs: -unbounded isGeneric: true isAttribute: false isEnum: false isDataType: false
// --------------------------------------------------------------------------------------------------------||
/**
* If not already created, a new split
element will be created and returned.
* Otherwise, the first existing split
element will be returned.
* @return the instance defined for the element split
*/
public Split> getOrCreateSplit();
/**
* Creates a new split
element
* @return the new created instance of Split>
*/
public Split> createSplit();
/**
* Returns all split
elements
* @return list of split
*/
public List>> getAllSplit();
/**
* Removes all split
elements
* @return the current instance of Split>
*/
public Flow removeAllSplit();
// --------------------------------------------------------------------------------------------------------||
// ClassName: Flow ElementName: jsl:Step ElementType : step
// MaxOccurs: -unbounded isGeneric: true isAttribute: false isEnum: false isDataType: false
// --------------------------------------------------------------------------------------------------------||
/**
* If not already created, a new step
element will be created and returned.
* Otherwise, the first existing step
element will be returned.
* @return the instance defined for the element step
*/
public Step> getOrCreateStep();
/**
* Creates a new step
element
* @return the new created instance of Step>
*/
public Step> createStep();
/**
* Returns all step
elements
* @return list of step
*/
public List>> getAllStep();
/**
* Removes all step
elements
* @return the current instance of Step>
*/
public Flow removeAllStep();
// --------------------------------------------------------------------------------------------------------||
// ClassName: Flow ElementName: xsd:ID ElementType : id
// MaxOccurs: - isGeneric: true isAttribute: true isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the id
attribute
* @param id the value for the attribute id
* @return the current instance of Flow
*/
public Flow id(String id);
/**
* Returns the id
attribute
* @return the value defined for the attribute id
*/
public String getId();
/**
* Removes the id
attribute
* @return the current instance of Flow
*/
public Flow removeId();
// --------------------------------------------------------------------------------------------------------||
// ClassName: Flow ElementName: xsd:string ElementType : next
// MaxOccurs: - isGeneric: true isAttribute: true isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the next
attribute
* @param next the value for the attribute next
* @return the current instance of Flow
*/
public Flow next(String next);
/**
* Returns the next
attribute
* @return the value defined for the attribute next
*/
public String getNext();
/**
* Removes the next
attribute
* @return the current instance of Flow
*/
public Flow removeNext();
}