-
public final class MatchOptionOptions for matching emails in an inbox. Each match option object contains a
field,shouldandvalueproperty. Together they form logical conditions such asSUBJECTshouldCONTAINvalue.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enumMatchOption.FieldFields of an email object that can be used to filter results Values: sUBJECT,tO,bCC,cC,fROM
public enumMatchOption.ShouldHow the value of the email field specified should be compared to the value given in the match options. Values: cONTAIN,eQUAL
-
Field Summary
Fields Modifier and Type Field Description private final MatchOption.Fieldfieldprivate final MatchOption.Shouldshouldprivate final Stringvalue
-
Constructor Summary
Constructors Constructor Description MatchOption(MatchOption.Field field, MatchOption.Should should, String value)
-
Method Summary
Modifier and Type Method Description final MatchOption.FieldgetField()final MatchOption.ShouldgetShould()final StringgetValue()-
-
Constructor Detail
-
MatchOption
MatchOption(MatchOption.Field field, MatchOption.Should should, String value)
- Parameters:
field- Fields of an email object that can be used to filter resultsshould- How the value of the email field specified should be compared to the value given in the match options.value- The value you wish to compare with the value of the field specified using theshouldvalue passed.
-
-
Method Detail
-
getField
final MatchOption.Field getField()
-
getShould
final MatchOption.Should getShould()
-
-
-
-