Package org.opentcs.util
Class ExplainedBoolean
java.lang.Object
org.opentcs.util.ExplainedBoolean
A boolean with an explanation/reason for its value.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ExplainedBoolean
Creates a new instance.- Parameters:
value
- The actual value.reason
- A reason/explanation for the value.
-
-
Method Details
-
getValue
public boolean getValue()Returns the actual value.- Returns:
- The actual value.
-
getReason
A reason/explanation for the value.- Returns:
- The reason
-