Class Condition
java.lang.Object
dev.doglog.Condition
A formula that's true or false, which DogLog Studio calculates a boolean computed entry with. Log
one with
DogLog.computed(String, Condition).
Make one by comparing formulas, ex. Formula.entry("Arm/Error").lessThan(Inches.of(2)),
or from a logged boolean with entry(String), then combine them with and(Condition), or(Condition), and not().
toString() returns the formula's text in the @team581/log-formula language.
-
Method Summary
Modifier and TypeMethodDescriptionWhether this andotherare both true.static ConditionA logged boolean entry's value.static ConditionentryEquals(String key, Enum<?> value) Whether a logged enum entry's value isvalue, ex.static ConditionentryEquals(String key, String value) Whether a logged string entry's value is exactlyvalue, ex.booleaninthashCode()Whether this is the same asother, both true or both false.isNotEqualTo(Condition other) Whether this is different fromother, exactly one of them true.not()Whether this is false.Whether this orotheris true.toString()The formula's text, ex.
-
Method Details
-
entry
-
entryEquals
-
entryEquals
-
and
-
equals
-
hashCode
-
isEqualTo
-
isNotEqualTo
-
not
Whether this is false. -
or
-
toString
-