|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opennms.sms.reflector.smsservice.MobileMsgResponseMatchers
public class MobileMsgResponseMatchers
MobileMsgResponseMatchers class.
| Constructor Summary | |
|---|---|
MobileMsgResponseMatchers()
|
|
| Method Summary | |
|---|---|
static MobileMsgResponseMatcher |
and(MobileMsgResponseMatcher... matchers)
and |
static boolean |
isAMatch(String expected,
String actual)
isAMatch |
static MobileMsgResponseMatcher |
isSms()
isSms |
static MobileMsgResponseMatcher |
isUssd()
isUssd |
static MobileMsgResponseMatcher |
or(MobileMsgResponseMatcher... matchers)
or |
static MobileMsgResponseMatcher |
smsFrom(String originator)
smsFrom |
static MobileMsgResponseMatcher |
smsFromRecipient()
smsFromRecipient |
static MobileMsgResponseMatcher |
textMatches(String regex)
textMatches |
static void |
tracef(String format,
Object... args)
tracef |
static MobileMsgResponseMatcher |
ussdStatusIs(org.smslib.USSDSessionStatus status)
ussdStatusIs |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MobileMsgResponseMatchers()
| Method Detail |
|---|
public static MobileMsgResponseMatcher smsFrom(String originator)
smsFrom
originator - a String object.
MobileMsgResponseMatcher object.public static MobileMsgResponseMatcher smsFromRecipient()
smsFromRecipient
MobileMsgResponseMatcher object.public static MobileMsgResponseMatcher and(MobileMsgResponseMatcher... matchers)
and
matchers - a MobileMsgResponseMatcher object.
MobileMsgResponseMatcher object.public static MobileMsgResponseMatcher or(MobileMsgResponseMatcher... matchers)
or
matchers - a MobileMsgResponseMatcher object.
MobileMsgResponseMatcher object.public static MobileMsgResponseMatcher textMatches(String regex)
textMatches
regex - a String object.
MobileMsgResponseMatcher object.public static MobileMsgResponseMatcher isSms()
isSms
MobileMsgResponseMatcher object.public static MobileMsgResponseMatcher isUssd()
isUssd
MobileMsgResponseMatcher object.public static MobileMsgResponseMatcher ussdStatusIs(org.smslib.USSDSessionStatus status)
ussdStatusIs
status - a USSDSessionStatus object.
MobileMsgResponseMatcher object.
public static void tracef(String format,
Object... args)
tracef
format - a String object.args - a Object object.
public static boolean isAMatch(String expected,
String actual)
isAMatch
expected - a String object.actual - a String object.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||