Class JDFResource.PartitionGetter

  • Enclosing class:
    JDFResource

    @Deprecated
    public class JDFResource.PartitionGetter
    extends PartitionGetter
    Deprecated.
    - use the local file type
    • Constructor Detail

      • PartitionGetter

        public PartitionGetter()
        Deprecated.
    • Method Detail

      • toString

        public java.lang.String toString()
        Deprecated.
        Overrides:
        toString in class PartitionGetter
        See Also:
        Object.toString()
      • isFollowIdentical

        public boolean isFollowIdentical()
        Deprecated.
        Description copied from class: PartitionGetter
        Getter for followIdentical attribute.
        Overrides:
        isFollowIdentical in class PartitionGetter
        Returns:
        the followIdentical
      • setFollowIdentical

        public void setFollowIdentical​(boolean followIdentical)
        Deprecated.
        Description copied from class: PartitionGetter
        Setter for followIdentical attribute.
        Overrides:
        setFollowIdentical in class PartitionGetter
        Parameters:
        followIdentical - the followIdentical to set
      • getPartitionVector

        public VElement getPartitionVector​(VJDFAttributeMap vm,
                                           JDFResource.EnumPartUsage partUsage)
        Deprecated.
        Description copied from class: PartitionGetter
        Gets the vector of parts (resource leaves or nodes) that match mAttribute
        Overrides:
        getPartitionVector in class PartitionGetter
        Parameters:
        vm - the map of key-value partitions (where key - PartIDKey, value - its value)
        partUsage - also accept nodes that are are not completely specified in the partmap, e.g. if partitioned by run, RunPage and only Run is specified
        Returns:
        VElement - the vector of matching resource leaves or nodes
      • getPartitionMaps

        public VJDFAttributeMap getPartitionMaps​(VJDFAttributeMap vm,
                                                 JDFResource.EnumPartUsage partUsage)
        Deprecated.
        Description copied from class: PartitionGetter
        Gets the vector of parts (resource leaves or nodes) that match mAttribute
        Overrides:
        getPartitionMaps in class PartitionGetter
        Parameters:
        vm - the map of key-value partitions (where key - PartIDKey, value - its value)
        partUsage - also accept nodes that are are not completely specified in the partmap, e.g. if partitioned by run, RunPage and only Run is specified
        Returns:
        VElement - the vector of matching resource leaves or nodes
      • getPartitionVector

        public VElement getPartitionVector​(JDFAttributeMap m,
                                           JDFResource.EnumPartUsage partUsage)
        Deprecated.
        Description copied from class: PartitionGetter
        Gets the vector of parts (resource leaves or nodes) that match mAttribute
        Overrides:
        getPartitionVector in class PartitionGetter
        Parameters:
        m - the map of key-value partitions (where key - PartIDKey, value - its value)
        partUsage - also accept nodes that are are not completely specified in the partmap, e.g. if partitioned by run, RunPage and only Run is specified
        Returns:
        VElement - the vector of matching resource leaves or nodes
      • getPartition

        public JDFResource getPartition​(JDFAttributeMap m,
                                        JDFResource.EnumPartUsage partUsage)
        Deprecated.
        Description copied from class: PartitionGetter
        Gets the first part that matches mAttribute
        Overrides:
        getPartition in class PartitionGetter
        Parameters:
        m - the map of key-value partitions (where key - PartIDKey, value - its value)
        partUsage - also accept nodes that are are not completely specified in the partmap, e.g. if partitioned by run, RunPage and only Run is specified
        Returns:
        JDFResource: the first matching resource leaf or node
      • getDeepPart

        protected JDFResource getDeepPart​(JDFAttributeMap m,
                                          JDFResource.EnumPartUsage partUsage)
        Deprecated.
        Description copied from class: PartitionGetter
        Gets a matching part from somewhere down there,
        returns the closest ancestor of all matching elements within the target vector
        Overrides:
        getDeepPart in class PartitionGetter
        Parameters:
        m - map of attributes that should fit
        partUsage - lso accept nodes that are are not completely specified in the partmap, e.g. if partitioned by run, RunPage and only Run is specified
        Returns:
        the first found matching resource node or leaf
      • getCreatePartition

        public JDFResource getCreatePartition​(JDFAttributeMap partMap,
                                              VString vPartKeys)
        Deprecated.
        Description copied from class: PartitionGetter
        Recursively adds the partition leaves defined in partMap
        Overrides:
        getCreatePartition in class PartitionGetter
        Parameters:
        partMap - the map of part keys
        vPartKeys - the vector of partIDKeys strings of the resource. If empty (the default), the Resource PartIDKeys attribute is used
        Returns:
        JDFResource the last created partition leaf
      • setStrictPartVersion

        public void setStrictPartVersion​(boolean strictPartVersion)
        Deprecated.
        Description copied from class: PartitionGetter
        if set to true, partversion will only match if the string matches exactly
        if set to false (the default) partversions will match if tokens overlap
        Overrides:
        setStrictPartVersion in class PartitionGetter