Package org.opentcs.util
Class ExplainedBoolean
java.lang.Object
org.opentcs.util.ExplainedBoolean
public class ExplainedBoolean
extends java.lang.Object
A boolean with an explanation/reason for its value.
-
Constructor Summary
Constructors Constructor Description ExplainedBoolean(boolean value, java.lang.String reason)
Creates a new instance. -
Method Summary
-
Constructor Details
-
ExplainedBoolean
public ExplainedBoolean(boolean value, @Nonnull java.lang.String reason)Creates a new instance.- Parameters:
value
- The actual value.reason
- A reason/explanation for the value.
-
-
Method Details