Class NodeIsSchedulable

    • Method Summary

      All Methods Instance Methods Concrete 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?
      java.lang.String getName()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • NodeIsSchedulable

        public NodeIsSchedulable()
    • Method Detail

      • filter

        public FilterResult filter​(uk.co.ractf.polaris.api.task.Task task,
                                   uk.co.ractf.polaris.api.node.NodeInfo nodeInfo)
        Description copied from interface: FilterPlugin
        Can the task run on the node?
        Specified by:
        filter in interface FilterPlugin
        Parameters:
        task - the task
        nodeInfo - the node
        Returns:
        if the task can run
      • getName

        public java.lang.String getName()
        Specified by:
        getName in interface Plugin