Class NodeSelector
java.lang.Object
com.polarion.platform.jobs.scheduler.NodeSelector
- All Implemented Interfaces:
Serializable
Selector of a cluster node(s).
- Since:
- 3.8.0
- See Also:
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
allNodes()
boolean
anyNode()
static NodeSelector
static NodeSelector
fromStringValue
(String nodeSelector)
-
Field Details
-
ALL_NODES
-
ANY_NODE
-
-
Method Details
-
forNode
-
fromStringValue
- See Also:
-
toStringValue
- See Also:
-
getNodeId
- Throws:
IllegalStateException
- if this is any or all nodes selector
-
allNodes
public boolean allNodes() -
anyNode
public boolean anyNode()
-