MappingRuleConditionalVariablepublic static class MappingRuleConditionalVariables.SecondaryGroupVariable extends java.lang.Object implements MappingRuleConditionalVariable
| Modifier and Type | Field | Description |
|---|---|---|
static java.lang.String |
VARIABLE_NAME |
This is the name of the variable we are replacing.
|
| Constructor | Description |
|---|---|
SecondaryGroupVariable(CapacitySchedulerQueueManager qm,
java.util.List<java.lang.String> groups) |
Constructor requires a queue manager instance and a list of potential
secondary groups.
|
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.String |
evaluateInPath(java.lang.String[] parts,
int currentIndex) |
Method used to evaluate the variable when used in a path.
|
java.lang.String |
toString() |
public static final java.lang.String VARIABLE_NAME
public SecondaryGroupVariable(CapacitySchedulerQueueManager qm, java.util.List<java.lang.String> groups)
qm - The queue manager which will be used to check which potential
secondary group should be used.groups - List of potential secondary groups.public java.lang.String evaluateInPath(java.lang.String[] parts,
int currentIndex)
evaluateInPath in interface MappingRuleConditionalVariableparts - Split representation of the path.currentIndex - The index of the evaluation in the path. This shows
which part is currently being evaluated.public java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2008–2025 Apache Software Foundation. All rights reserved.