Class JDFActionPool

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, IStreamWriter, org.w3c.dom.Element, org.w3c.dom.ElementTraversal, org.w3c.dom.events.EventTarget, org.w3c.dom.Node, org.w3c.dom.NodeList, org.w3c.dom.TypeInfo

    public class JDFActionPool
    extends JDFAutoActionPool
    See Also:
    Serialized Form
    • Constructor Detail

      • JDFActionPool

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

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

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

      • toString

        public java.lang.String toString()
        toString
        Overrides:
        toString in class KElement
        Returns:
        String
        See Also:
        Object.toString()
      • 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