-
public final class ConditionOptionOptions for matching emails in an inbox based on a condition such as
HAS_ATTACHMENTS=TRUE
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enumConditionOption.ConditionThe condition to evaluate against the email Values: hASATTACHMENTS
public enumConditionOption.ValueWhat the condition should evaluate to. A string 'TRUE|FALSE' not a boolean. Values: tRUE,fALSE
-
Field Summary
Fields Modifier and Type Field Description private final ConditionOption.Conditionconditionprivate final ConditionOption.Valuevalue
-
Constructor Summary
Constructors Constructor Description ConditionOption(ConditionOption.Condition condition, ConditionOption.Value value)
-
Method Summary
Modifier and Type Method Description final ConditionOption.ConditiongetCondition()final ConditionOption.ValuegetValue()-
-
Constructor Detail
-
ConditionOption
ConditionOption(ConditionOption.Condition condition, ConditionOption.Value value)
- Parameters:
condition- The condition to evaluate against the emailvalue- What the condition should evaluate to.
-
-
Method Detail
-
getCondition
final ConditionOption.Condition getCondition()
-
getValue
final ConditionOption.Value getValue()
-
-
-
-