@Deprecated public class JDFResource.PartionGetter extends PartitionGetter
Constructor and Description |
---|
PartionGetter()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
JDFResource |
addPartition(JDFResource.EnumPartIDKey partType,
String value)
Deprecated.
Adds a new part to this node, also handles PartIDKeys in the root etc.
|
JDFResource |
getCreatePartition(JDFAttributeMap partMap,
VString vPartKeys)
Deprecated.
Recursively adds the partition leaves defined in partMap
|
protected JDFResource |
getDeepPart(JDFAttributeMap m,
JDFResource.EnumPartUsage partUsage)
Deprecated.
Gets a matching part from somewhere down there,
returns the closest ancestor of all matching elements within the target vector |
JDFResource |
getPartition(JDFAttributeMap m,
JDFResource.EnumPartUsage partUsage)
Deprecated.
Gets the first part that matches mAttribute
|
VJDFAttributeMap |
getPartitionMaps(VJDFAttributeMap vm,
JDFResource.EnumPartUsage partUsage)
Deprecated.
Gets the vector of parts (resource leaves or nodes) that match mAttribute
|
VElement |
getPartitionVector(JDFAttributeMap m,
JDFResource.EnumPartUsage partUsage)
Deprecated.
Gets the vector of parts (resource leaves or nodes) that match mAttribute
|
VElement |
getPartitionVector(VJDFAttributeMap vm,
JDFResource.EnumPartUsage partUsage)
Deprecated.
Gets the vector of parts (resource leaves or nodes) that match mAttribute
|
boolean |
isFollowIdentical()
Deprecated.
Getter for followIdentical attribute.
|
void |
setFollowIdentical(boolean followIdentical)
Deprecated.
Setter for followIdentical attribute.
|
void |
setStrictPartVersion(boolean strictPartVersion)
Deprecated.
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 |
String |
toString()
Deprecated.
|
public String toString()
toString
in class PartitionGetter
Object.toString()
public boolean isFollowIdentical()
PartitionGetter
isFollowIdentical
in class PartitionGetter
public void setFollowIdentical(boolean followIdentical)
PartitionGetter
setFollowIdentical
in class PartitionGetter
followIdentical
- the followIdentical to setpublic VElement getPartitionVector(VJDFAttributeMap vm, JDFResource.EnumPartUsage partUsage)
PartitionGetter
getPartitionVector
in class PartitionGetter
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 specifiedpublic VJDFAttributeMap getPartitionMaps(VJDFAttributeMap vm, JDFResource.EnumPartUsage partUsage)
PartitionGetter
getPartitionMaps
in class PartitionGetter
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 specifiedpublic VElement getPartitionVector(JDFAttributeMap m, JDFResource.EnumPartUsage partUsage)
PartitionGetter
getPartitionVector
in class PartitionGetter
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 specifiedpublic JDFResource getPartition(JDFAttributeMap m, JDFResource.EnumPartUsage partUsage)
PartitionGetter
getPartition
in class PartitionGetter
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 specifiedprotected JDFResource getDeepPart(JDFAttributeMap m, JDFResource.EnumPartUsage partUsage)
PartitionGetter
getDeepPart
in class PartitionGetter
m
- map of attributes that should fitpartUsage
- lso accept nodes that are are not completely specified in the partmap, e.g. if partitioned by run, RunPage and only Run is specifiedpublic JDFResource getCreatePartition(JDFAttributeMap partMap, VString vPartKeys)
PartitionGetter
getCreatePartition
in class PartitionGetter
partMap
- the map of part keysvPartKeys
- the vector of partIDKeys strings of the resource. If empty (the default), the Resource PartIDKeys attribute is usedpublic JDFResource addPartition(JDFResource.EnumPartIDKey partType, String value)
PartitionGetter
partType
- part type of a new partvalue
- its valuepublic void setStrictPartVersion(boolean strictPartVersion)
PartitionGetter
setStrictPartVersion
in class PartitionGetter
Copyright © 2018. All rights reserved.