public interface RuleFactory
PlacementRules.| Modifier and Type | Method and Description |
|---|---|
default PlacementRule |
avoid(java.util.Collection<StringMatcher> matchers)
Requires that a task NOT be placed on any of the provided string matchers.
|
default PlacementRule |
avoid(StringMatcher... matchers)
Requires that a task NOT be placed on any of the provided string matchers.
|
default PlacementRule |
avoid(StringMatcher matcher)
Requires that a task NOT be placed on the provided string matchers.
|
default PlacementRule |
require(java.util.Collection<StringMatcher> matchers)
Requires that a task be placed on one of the provided string matchers.
|
default PlacementRule |
require(StringMatcher... matchers)
Requires that a task be placed on one of the provided string matchers.
|
PlacementRule |
require(StringMatcher matcher)
Requires that a task be placed on the provided string matcher.
|
PlacementRule require(StringMatcher matcher)
matcher - matcher for key to requiredefault PlacementRule require(java.util.Collection<StringMatcher> matchers)
matchers - matchers for key to requiredefault PlacementRule require(StringMatcher... matchers)
matchers - matchers for keys to requiredefault PlacementRule avoid(StringMatcher matcher)
matcher - matcher for key to avoiddefault PlacementRule avoid(java.util.Collection<StringMatcher> matchers)
matchers - matchers for keys to avoiddefault PlacementRule avoid(StringMatcher... matchers)
matchers - matchers for keys to avoid