Interface ClusterPredicatePlugin
-
- All Superinterfaces:
Plugin
- All Known Implementing Classes:
NamespaceCapabilityChangeAllowed
,NamespaceResourcesAvailable
,RegistryAuth
public interface ClusterPredicatePlugin extends Plugin
ASchedulingAlgorithm
Plugin
that checks that aTask
can actually run on the polaris cluster. Scheduling will fail if any of these plugins return false.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ClusterPredicateResult
canSchedule(uk.co.ractf.polaris.api.task.Task task)
Returns if it is possible to schedule this task.
-
-
-
Method Detail
-
canSchedule
ClusterPredicateResult canSchedule(uk.co.ractf.polaris.api.task.Task task)
Returns if it is possible to schedule this task.- Parameters:
task
- the task- Returns:
- if the task can run and why
-
-