Class JDFActionPool

java.lang.Object
org.apache.xerces.dom.NodeImpl
org.apache.xerces.dom.ChildNode
org.apache.xerces.dom.ParentNode
org.apache.xerces.dom.ElementImpl
org.apache.xerces.dom.ElementNSImpl
All Implemented Interfaces:
Serializable, Cloneable, IStreamWriter, Element, ElementTraversal, EventTarget, Node, NodeList, TypeInfo

public class JDFActionPool extends JDFAutoActionPool
See Also:
  • Constructor Details

    • JDFActionPool

      public JDFActionPool(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument, String qualifiedName) throws DOMException
      Constructor for JDFActionPool
      Parameters:
      ownerDocument -
      qualifiedName -
      Throws:
      DOMException
    • JDFActionPool

      public JDFActionPool(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument, String myNamespaceURI, String qualifiedName) throws DOMException
      Constructor for JDFActionPool
      Parameters:
      ownerDocument -
      namespaceURI -
      qualifiedName -
      Throws:
      DOMException
    • JDFActionPool

      public JDFActionPool(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument, String myNamespaceURI, String qualifiedName, String myLocalName) throws DOMException
      Constructor for JDFActionPool
      Parameters:
      ownerDocument -
      namespaceURI -
      qualifiedName -
      localName -
      Throws:
      DOMException
  • Method Details

    • toString

      public String toString()
      toString
      Overrides:
      toString in class KElement
      Returns:
      String
      See Also:
    • getDeviceCap

      public IDeviceCapable getDeviceCap()
      Returns:
      the deviceCap or MessageService that resides in
    • appendActionTest

      public JDFAction appendActionTest(JDFTerm.EnumTerm term, boolean bActionFailsOnTestTrue)
      append an action to this that references a Test with a term of type term in the parallel TestPool
      Parameters:
      term - the type of term in the test
      bActionFailsOnTestTrue - if true the term is linked directly, if false a the term is inverted by enclosing it in a term
    • appendActionSetTest

      public JDFAction appendActionSetTest(JDFTerm.EnumTerm term, JDFTerm.EnumTerm setTerm, boolean bActionFailsOnTestTrue)
      append an action to this that references a Test with a term of type term in the parallel TestPool
      Parameters:
      term - the type of term in the test
      setTerm - the term referenced by PreflightAction@SetRef
      bActionFailsOnTestTrue - if true the term is linked directly, if false a the term is inverted by enclosing it in a term note that the setTest always MUST be true to evaluate.
      Returns:
      the newly created action
    • appendExcludeTest

      public JDFAction appendExcludeTest(ICapabilityElement t1, ICapabilityElement t2)
      append an action to this that references a Test that defines an exclusion of two values
      Parameters:
      id1 - the id of the first state or devcap to reference
      id2 - the id of the 2nd state or devcap to reference
      Returns:
      the newly created action