Class ScalingRule.RuleOutcome

  • Enclosing class:
    ScalingRule

    public class ScalingRule.RuleOutcome
    extends java.lang.Object
    A tuple-like object that returns both the outcome result of the rule constraint checks and also a reason message with details of what caused the result.
    • Constructor Summary

      Constructors 
      Constructor Description
      RuleOutcome​(boolean satisfied, java.lang.String reason)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getReason()  
      boolean isSatisfied()  
      • Methods inherited from class java.lang.Object

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

      • RuleOutcome

        public RuleOutcome​(boolean satisfied,
                           java.lang.String reason)
    • Method Detail

      • isSatisfied

        public boolean isSatisfied()
      • getReason

        public java.lang.String getReason()