Class FilterResult


  • public class FilterResult
    extends java.lang.Object
    Represents the result of a filter plugin, if a node can be scheduled onto, and if not, can it be resolved and reasons why.
    • Constructor Summary

      Constructors 
      Constructor Description
      FilterResult​(boolean schedulable, boolean resolvable, java.util.List<java.lang.String> reason)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<java.lang.String> getReason()  
      boolean isResolvable()  
      boolean isSchedulable()  
      • Methods inherited from class java.lang.Object

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

      • FilterResult

        public FilterResult​(boolean schedulable,
                            boolean resolvable,
                            java.util.List<java.lang.String> reason)
        Parameters:
        schedulable - is the node schedulable
        resolvable - can the node be made schedulable
        reason - why is the node not schedulable
    • Method Detail

      • isSchedulable

        public boolean isSchedulable()
      • isResolvable

        public boolean isResolvable()
      • getReason

        public java.util.List<java.lang.String> getReason()