Interface FilterPlugin
-
- All Superinterfaces:
Plugin
- All Known Implementing Classes:
NodeAffinity
,NodeAntiAffinity
,NodeHasRunner
,NodeIsSchedulable
public interface FilterPlugin extends Plugin
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FilterResult
filter(uk.co.ractf.polaris.api.task.Task task, uk.co.ractf.polaris.api.node.NodeInfo nodeInfo)
Can the task run on the node?
-
-
-
Method Detail
-
filter
FilterResult filter(uk.co.ractf.polaris.api.task.Task task, uk.co.ractf.polaris.api.node.NodeInfo nodeInfo)
Can the task run on the node?- Parameters:
task
- the tasknodeInfo
- the node- Returns:
- if the task can run
-
-