Class JDFQueueFilter

    • Constructor Detail

      • JDFQueueFilter

        public JDFQueueFilter​(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument,
                              java.lang.String qualifiedName)
        Constructor for JDFQueueFilter
        Parameters:
        myOwnerDocument -
        qualifiedName -
      • JDFQueueFilter

        public JDFQueueFilter​(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument,
                              java.lang.String myNamespaceURI,
                              java.lang.String qualifiedName)
        Constructor for JDFQueueFilter
        Parameters:
        myOwnerDocument -
        myNamespaceURI -
        qualifiedName -
      • JDFQueueFilter

        public JDFQueueFilter​(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument,
                              java.lang.String myNamespaceURI,
                              java.lang.String qualifiedName,
                              java.lang.String myLocalName)
        Constructor for JDFQueueFilter
        Parameters:
        myOwnerDocument -
        myNamespaceURI -
        qualifiedName -
        myLocalName -
    • Method Detail

      • setQueueEntrieDefs

        public void setQueueEntrieDefs​(java.util.Set<java.lang.String> queueEntrieDefs)
        Parameters:
        queueEntrieDefs -
      • toString

        public java.lang.String toString()
        toString
        Overrides:
        toString in class KElement
        Returns:
        String
        See Also:
        Object.toString()
      • getPartMapVector

        public VJDFAttributeMap getPartMapVector()
        GetPartMapVector returns a vector of partmaps, null if no parts are present
        Overrides:
        getPartMapVector in class JDFElement
        Returns:
        VJDFAttributeMap
      • match

        @Deprecated
        public JDFQueue match​(JDFQueue theQueue)
        Deprecated.
        use the 2 parameter version
        modifies queue to match this filter by removing all non-matching entries make sure that this is a copy of any original queue as the incoming queue itself is not cloned
        Parameters:
        theQueue - the queue to modify
        Returns:
      • apply

        @Deprecated
        public JDFQueue apply​(JDFQueue theQueue,
                              JDFQueue lastQueue)
        Deprecated.
        - use copyTo modifies queue to match this filter by removing all non-matching entries make sure that this is a copy of any original queue as the incoming queue itself is not cloned
        Parameters:
        theQueue - the queue to modify
        lastQueue - the last queue to diff against, note that this must be the complete queue prior to the last call of match
        Returns:
      • matches

        public boolean matches​(JDFQueueEntry qe)
        return true if the queuentry matches this filter
        Parameters:
        qe - the queueentry to check
        Returns:
      • getQueueEntryDefSet

        public java.util.Set<java.lang.String> getQueueEntryDefSet()
        get the list of QueueEntryDef/@QueueEntryIDs strings as a set
        Returns:
        the set of QueueEntryIDs, null if no QueueEntryDef is specified
      • getDeviceIDSet

        public java.util.Set<java.lang.String> getDeviceIDSet()
        get the list of Device/@DeviceIDs strings as a set
        Returns:
        the set of DeviceIDs, null if no Device is specified
      • copy

        public JDFQueue copy​(JDFQueue theQueue,
                             JDFQueue lastQueue,
                             KElement resp)
        copy theQueue to newParent while applying the filter
        Parameters:
        theQueue - the queue to copy
        lastQueue - the previously created queue
        resp - the JDF response message, may be null
        Returns: