|
1.0.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.soda.dk.testagent.util.NotificationProbe
public class NotificationProbe
| Constructor Summary | |
|---|---|
NotificationProbe()
Constructs an instance of this class. |
|
| Method Summary | |
|---|---|
void |
clear()
Clear. |
void |
clearMark()
Clear mark. |
int |
countKeyPublished(java.lang.String topicKey)
Count key published with the specified key parameter and return the int result. |
int |
countKeyPublished(java.lang.String topicKey,
java.util.Dictionary data)
Count key published with the specified key and data parameters and return the int result. |
int |
countKeyPublished(java.lang.String topicKey,
java.util.Dictionary data,
long duration)
Count key published with the specified key, data and duration parameters and return the int result. |
int |
countKeyPublished(java.lang.String topicKey,
long duration)
Count key published with the specified key and duration parameters and return the int result. |
int |
countKeyPublished(java.lang.String topicKey,
java.lang.Object dataKey,
java.lang.Object dataValue)
Count key published with the specified key, data key and data value parameters and return the int result. |
int |
countKeyPublished(java.lang.String topicKey,
java.lang.Object dataKey,
java.lang.Object dataValue,
long duration)
Count key published with the specified key, data key, data value and duration parameters and return the int result. |
java.util.ArrayList |
getAllPublishedData(java.lang.String topicKey)
Get all published data with the specified key parameter and return the ArrayList result. |
java.util.ArrayList |
getAllPublishedValues(java.lang.String topicKey,
java.lang.String dataKey)
Get all published values with the specified topicKey and dataKey parameters and return the ArrayList result. |
java.util.Dictionary |
getFirstPublishedData(java.lang.String topicKey)
Get first published data with the specified key parameter and return the Dictionary result. |
java.lang.Object |
getFirstPublishedValue(java.lang.String topicKey,
java.lang.String dataKey)
Get first published value with the topicKey and dataKey parameters and return the Dictionary result. |
java.util.Dictionary |
getLastPublishedData(java.lang.String topicKey)
Get last published data with the specified key parameter and return the Dictionary result. |
java.lang.Object |
getLastPublishedValue(java.lang.String topicKey,
java.lang.String dataKey)
Get last published value with the specified topicKey and dataKey parameters and return the Dictionary result. |
void |
notificationReceived(java.lang.String externalKey,
java.util.Dictionary data)
Notification received with the specified external key and data parameters. |
void |
setMark()
Set mark. |
static java.util.Dictionary |
toData(java.lang.Object dataKey,
java.lang.Object dataValue)
To data with the specified data key and data value parameters and return the Dictionary result. |
java.lang.String |
waitKeyPublished(java.lang.String[] topicKeys,
int duration)
Wait key published with the specified topic keys and duration parameters and return the String result. |
int |
waitKeyPublished(java.lang.String topicKey,
java.util.Dictionary data,
int expectedCount,
int duration)
Wait key published with the specified topic key, data, expected count and duration parameters and return the int result. |
int |
waitKeyPublished(java.lang.String topicKey,
int expectedCount,
int duration)
Wait key published with the specified topic key, expected count and duration parameters and return the int result. |
boolean |
wasDataPublished(java.util.Dictionary data)
Was data published with the specified data parameter and return the boolean result. |
boolean |
wasDataPublished(java.util.Dictionary data,
int duration)
Was data published with the specified data and duration parameters and return the boolean result. |
boolean |
wasKeyPublished(java.lang.String topicKey)
Was key published with the specified key parameter and return the boolean result. |
java.lang.String |
wasKeyPublished(java.lang.String[] topicKeys)
Was key published with the specified topic keys parameter and return the String result. |
boolean |
wasKeyPublished(java.lang.String topicKey,
java.util.Dictionary data)
Was key published with the specified key and data parameters and return the boolean result. |
boolean |
wasKeyPublished(java.lang.String topicKey,
java.util.Dictionary data,
int duration)
Was key published with the specified key, data and duration parameters and return the boolean result. |
boolean |
wasKeyPublished(java.lang.String topicKey,
int duration)
Was key published with the specified key and duration parameters and return the boolean result. |
boolean |
wasKeyPublished(java.lang.String topicKey,
java.lang.Object dataKey,
java.lang.Object dataValue)
Was key published with the specified key, data key and data value parameters and return the boolean result. |
boolean |
wasKeyPublished(java.lang.String topicKey,
java.lang.Object dataKey,
java.lang.Object dataValue,
int duration)
Was key published with the specified key, data key, data value and duration parameters and return the boolean result. |
boolean |
wasValuePublished(java.lang.Object dataKey,
java.lang.Object dataValue)
Was value published with the specified data key and data value parameters and return the boolean result. |
boolean |
wasValuePublished(java.lang.Object dataKey,
java.lang.Object dataValue,
int duration)
Was value published with the specified data key, data value and duration parameters and return the boolean result. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NotificationProbe()
| Method Detail |
|---|
public static java.util.Dictionary toData(java.lang.Object dataKey,
java.lang.Object dataValue)
dataKey - The data key (Object) parameter.dataValue - The data value (Object) parameter.
Dictionary) value.getAllPublishedData(String),
getFirstPublishedData(String),
getLastPublishedData(String)public void clear()
public void clearMark()
setMark()
public int countKeyPublished(java.lang.String topicKey,
java.lang.Object dataKey,
java.lang.Object dataValue,
long duration)
key - The key (String) parameter.dataKey - The data key (Object) parameter.dataValue - The data value (Object) parameter.duration - The duration (long) parameter.topicKey - The topic key (String) parameter.
int) value.countKeyPublished(String,Dictionary,long),
countKeyPublished(String,Object,Object),
countKeyPublished(String,Dictionary),
countKeyPublished(String,long),
countKeyPublished(String),
waitKeyPublished(String,Dictionary,int,int),
waitKeyPublished(String,int,int),
waitKeyPublished(String[],int),
wasKeyPublished(String,Object,Object,int),
wasKeyPublished(String,Dictionary,int),
wasKeyPublished(String,Object,Object),
wasKeyPublished(String,Dictionary),
wasKeyPublished(String),
wasKeyPublished(String[]),
wasKeyPublished(String,int)
public int countKeyPublished(java.lang.String topicKey,
java.util.Dictionary data,
long duration)
key - The key (String) parameter.data - The data (Dictionary) parameter.duration - The duration (long) parameter.topicKey - The topic key (String) parameter.
int) value.countKeyPublished(String,Object,Object,long),
countKeyPublished(String,Object,Object),
countKeyPublished(String,Dictionary),
countKeyPublished(String,long),
countKeyPublished(String),
waitKeyPublished(String,Dictionary,int,int),
waitKeyPublished(String,int,int),
waitKeyPublished(String[],int),
wasKeyPublished(String,Object,Object,int),
wasKeyPublished(String,Dictionary,int),
wasKeyPublished(String,Object,Object),
wasKeyPublished(String,Dictionary),
wasKeyPublished(String),
wasKeyPublished(String[]),
wasKeyPublished(String,int)
public int countKeyPublished(java.lang.String topicKey,
java.lang.Object dataKey,
java.lang.Object dataValue)
key - The key (String) parameter.dataKey - The data key (Object) parameter.dataValue - The data value (Object) parameter.topicKey - The topic key (String) parameter.
int) value.countKeyPublished(String,Object,Object,long),
countKeyPublished(String,Dictionary,long),
countKeyPublished(String,Dictionary),
countKeyPublished(String,long),
countKeyPublished(String),
waitKeyPublished(String,Dictionary,int,int),
waitKeyPublished(String,int,int),
waitKeyPublished(String[],int),
wasKeyPublished(String,Object,Object,int),
wasKeyPublished(String,Dictionary,int),
wasKeyPublished(String,Object,Object),
wasKeyPublished(String,Dictionary),
wasKeyPublished(String),
wasKeyPublished(String[]),
wasKeyPublished(String,int)
public int countKeyPublished(java.lang.String topicKey,
java.util.Dictionary data)
key - The key (String) parameter.data - The data (Dictionary) parameter.topicKey - The topic key (String) parameter.
int) value.countKeyPublished(String,Object,Object,long),
countKeyPublished(String,Dictionary,long),
countKeyPublished(String,Object,Object),
countKeyPublished(String,long),
countKeyPublished(String),
waitKeyPublished(String,Dictionary,int,int),
waitKeyPublished(String,int,int),
waitKeyPublished(String[],int),
wasKeyPublished(String,Object,Object,int),
wasKeyPublished(String,Dictionary,int),
wasKeyPublished(String,Object,Object),
wasKeyPublished(String,Dictionary),
wasKeyPublished(String),
wasKeyPublished(String[]),
wasKeyPublished(String,int)
public int countKeyPublished(java.lang.String topicKey,
long duration)
key - The key (String) parameter.duration - The duration (long) parameter.topicKey - The topic key (String) parameter.
int) value.countKeyPublished(String,Object,Object,long),
countKeyPublished(String,Dictionary,long),
countKeyPublished(String,Object,Object),
countKeyPublished(String,Dictionary),
countKeyPublished(String),
waitKeyPublished(String,Dictionary,int,int),
waitKeyPublished(String,int,int),
waitKeyPublished(String[],int),
wasKeyPublished(String,Object,Object,int),
wasKeyPublished(String,Dictionary,int),
wasKeyPublished(String,Object,Object),
wasKeyPublished(String,Dictionary),
wasKeyPublished(String),
wasKeyPublished(String[]),
wasKeyPublished(String,int)public int countKeyPublished(java.lang.String topicKey)
key - The key (String) parameter.topicKey - The topic key (String) parameter.
int) value.countKeyPublished(String,Object,Object,long),
countKeyPublished(String,Dictionary,long),
countKeyPublished(String,Object,Object),
countKeyPublished(String,Dictionary),
countKeyPublished(String,long),
waitKeyPublished(String,Dictionary,int,int),
waitKeyPublished(String,int,int),
waitKeyPublished(String[],int),
wasKeyPublished(String,Object,Object,int),
wasKeyPublished(String,Dictionary,int),
wasKeyPublished(String,Object,Object),
wasKeyPublished(String,Dictionary),
wasKeyPublished(String),
wasKeyPublished(String[]),
wasKeyPublished(String,int)public java.util.ArrayList getAllPublishedData(java.lang.String topicKey)
key - The key (String) parameter.topicKey - The topic key (String) parameter.
ArrayList) value.
public java.util.ArrayList getAllPublishedValues(java.lang.String topicKey,
java.lang.String dataKey)
topicKey - The topic key (String) parameter.dataKey - The data key (Object) parameter.
ArrayList) value.public java.util.Dictionary getFirstPublishedData(java.lang.String topicKey)
key - The key (String) parameter.topicKey - The topic key (String) parameter.
Dictionary) value.
public java.lang.Object getFirstPublishedValue(java.lang.String topicKey,
java.lang.String dataKey)
topicKey - The topic key (String) parameter.dataKey - The data key (Object) parameter.
Object) value.public java.util.Dictionary getLastPublishedData(java.lang.String topicKey)
key - The key (String) parameter.topicKey - The topic key (String) parameter.
Dictionary) value.
public java.lang.Object getLastPublishedValue(java.lang.String topicKey,
java.lang.String dataKey)
topicKey - The topic key (String) parameter.dataKey - The data key (Object) parameter.
Object) value.
public void notificationReceived(java.lang.String externalKey,
java.util.Dictionary data)
externalKey - The external key (String) parameter.data - The data (Dictionary) parameter.public void setMark()
clearMark()
public int waitKeyPublished(java.lang.String topicKey,
java.util.Dictionary data,
int expectedCount,
int duration)
throws java.lang.InterruptedException
topicKey - The topic key (String) parameter.data - The data (Dictionary) parameter.expectedCount - The expected count (int) parameter.duration - The duration (int) parameter.
int) value.
java.lang.InterruptedException - Interrupted Exception.countKeyPublished(String,Object,Object,long),
countKeyPublished(String,Dictionary,long),
countKeyPublished(String,Object,Object),
countKeyPublished(String,Dictionary),
countKeyPublished(String,long),
countKeyPublished(String),
waitKeyPublished(String,int,int),
waitKeyPublished(String[],int),
wasKeyPublished(String,Object,Object,int),
wasKeyPublished(String,Dictionary,int),
wasKeyPublished(String,Object,Object),
wasKeyPublished(String,Dictionary),
wasKeyPublished(String),
wasKeyPublished(String[]),
wasKeyPublished(String,int)
public int waitKeyPublished(java.lang.String topicKey,
int expectedCount,
int duration)
throws java.lang.InterruptedException
topicKey - The topic key (String) parameter.expectedCount - The expected count (int) parameter.duration - The duration (int) parameter.
int) value.
java.lang.InterruptedException - Interrupted Exception.countKeyPublished(String,Object,Object,long),
countKeyPublished(String,Dictionary,long),
countKeyPublished(String,Object,Object),
countKeyPublished(String,Dictionary),
countKeyPublished(String,long),
countKeyPublished(String),
waitKeyPublished(String,Dictionary,int,int),
waitKeyPublished(String[],int),
wasKeyPublished(String,Object,Object,int),
wasKeyPublished(String,Dictionary,int),
wasKeyPublished(String,Object,Object),
wasKeyPublished(String,Dictionary),
wasKeyPublished(String),
wasKeyPublished(String[]),
wasKeyPublished(String,int)
public java.lang.String waitKeyPublished(java.lang.String[] topicKeys,
int duration)
throws java.lang.InterruptedException
topicKeys - The topic keys (String) parameter.duration - The duration (int) parameter.
String) value.
java.lang.InterruptedException - Interrupted Exception.countKeyPublished(String,Object,Object,long),
countKeyPublished(String,Dictionary,long),
countKeyPublished(String,Object,Object),
countKeyPublished(String,Dictionary),
countKeyPublished(String,long),
countKeyPublished(String),
waitKeyPublished(String,Dictionary,int,int),
waitKeyPublished(String,int,int),
wasKeyPublished(String,Object,Object,int),
wasKeyPublished(String,Dictionary,int),
wasKeyPublished(String,Object,Object),
wasKeyPublished(String,Dictionary),
wasKeyPublished(String),
wasKeyPublished(String[]),
wasKeyPublished(String,int)
public boolean wasDataPublished(java.util.Dictionary data,
int duration)
throws java.lang.InterruptedException
data - The data (Dictionary) parameter.duration - The duration (int) parameter.
boolean) value.
java.lang.InterruptedException - Interrupted Exception.wasDataPublished(Dictionary)public boolean wasDataPublished(java.util.Dictionary data)
data - The data (Dictionary) parameter.
boolean) value.wasDataPublished(Dictionary,int)
public boolean wasKeyPublished(java.lang.String topicKey,
java.lang.Object dataKey,
java.lang.Object dataValue,
int duration)
throws java.lang.InterruptedException
key - The key (String) parameter.dataKey - The data key (Object) parameter.dataValue - The data value (Object) parameter.duration - The duration (int) parameter.topicKey - The topic key (String) parameter.
boolean) value.
java.lang.InterruptedException - Interrupted Exception.countKeyPublished(String,Object,Object,long),
countKeyPublished(String,Dictionary,long),
countKeyPublished(String,Object,Object),
countKeyPublished(String,Dictionary),
countKeyPublished(String,long),
countKeyPublished(String),
waitKeyPublished(String,Dictionary,int,int),
waitKeyPublished(String,int,int),
waitKeyPublished(String[],int),
wasKeyPublished(String,Dictionary,int),
wasKeyPublished(String,Object,Object),
wasKeyPublished(String,Dictionary),
wasKeyPublished(String),
wasKeyPublished(String[]),
wasKeyPublished(String,int)
public boolean wasKeyPublished(java.lang.String topicKey,
java.util.Dictionary data,
int duration)
throws java.lang.InterruptedException
key - The key (String) parameter.data - The data (Dictionary) parameter.duration - The duration (int) parameter.topicKey - The topic key (String) parameter.
boolean) value.
java.lang.InterruptedException - Interrupted Exception.countKeyPublished(String,Object,Object,long),
countKeyPublished(String,Dictionary,long),
countKeyPublished(String,Object,Object),
countKeyPublished(String,Dictionary),
countKeyPublished(String,long),
countKeyPublished(String),
waitKeyPublished(String,Dictionary,int,int),
waitKeyPublished(String,int,int),
waitKeyPublished(String[],int),
wasKeyPublished(String,Object,Object,int),
wasKeyPublished(String,Object,Object),
wasKeyPublished(String,Dictionary),
wasKeyPublished(String),
wasKeyPublished(String[]),
wasKeyPublished(String,int)
public boolean wasKeyPublished(java.lang.String topicKey,
java.lang.Object dataKey,
java.lang.Object dataValue)
key - The key (String) parameter.dataKey - The data key (Object) parameter.dataValue - The data value (Object) parameter.topicKey - The topic key (String) parameter.
boolean) value.countKeyPublished(String,Object,Object,long),
countKeyPublished(String,Dictionary,long),
countKeyPublished(String,Object,Object),
countKeyPublished(String,Dictionary),
countKeyPublished(String,long),
countKeyPublished(String),
waitKeyPublished(String,Dictionary,int,int),
waitKeyPublished(String,int,int),
waitKeyPublished(String[],int),
wasKeyPublished(String,Object,Object,int),
wasKeyPublished(String,Dictionary,int),
wasKeyPublished(String,Dictionary),
wasKeyPublished(String),
wasKeyPublished(String[]),
wasKeyPublished(String,int)
public boolean wasKeyPublished(java.lang.String topicKey,
java.util.Dictionary data)
key - The key (String) parameter.data - The data (Dictionary) parameter.topicKey - The topic key (String) parameter.
boolean) value.countKeyPublished(String,Object,Object,long),
countKeyPublished(String,Dictionary,long),
countKeyPublished(String,Object,Object),
countKeyPublished(String,Dictionary),
countKeyPublished(String,long),
countKeyPublished(String),
waitKeyPublished(String,Dictionary,int,int),
waitKeyPublished(String,int,int),
waitKeyPublished(String[],int),
wasKeyPublished(String,Object,Object,int),
wasKeyPublished(String,Dictionary,int),
wasKeyPublished(String,Object,Object),
wasKeyPublished(String),
wasKeyPublished(String[]),
wasKeyPublished(String,int)public boolean wasKeyPublished(java.lang.String topicKey)
key - The key (String) parameter.topicKey - The topic key (String) parameter.
boolean) value.countKeyPublished(String,Object,Object,long),
countKeyPublished(String,Dictionary,long),
countKeyPublished(String,Object,Object),
countKeyPublished(String,Dictionary),
countKeyPublished(String,long),
countKeyPublished(String),
waitKeyPublished(String,Dictionary,int,int),
waitKeyPublished(String,int,int),
waitKeyPublished(String[],int),
wasKeyPublished(String,Object,Object,int),
wasKeyPublished(String,Dictionary,int),
wasKeyPublished(String,Object,Object),
wasKeyPublished(String,Dictionary),
wasKeyPublished(String[]),
wasKeyPublished(String,int)public java.lang.String wasKeyPublished(java.lang.String[] topicKeys)
topicKeys - The topic keys (String) parameter.
String) value.countKeyPublished(String,Object,Object,long),
countKeyPublished(String,Dictionary,long),
countKeyPublished(String,Object,Object),
countKeyPublished(String,Dictionary),
countKeyPublished(String,long),
countKeyPublished(String),
waitKeyPublished(String,Dictionary,int,int),
waitKeyPublished(String,int,int),
waitKeyPublished(String[],int),
wasKeyPublished(String,Object,Object,int),
wasKeyPublished(String,Dictionary,int),
wasKeyPublished(String,Object,Object),
wasKeyPublished(String,Dictionary),
wasKeyPublished(String),
wasKeyPublished(String,int)
public boolean wasKeyPublished(java.lang.String topicKey,
int duration)
throws java.lang.InterruptedException
key - The key (String) parameter.duration - The duration (int) parameter.topicKey - The topic key (String) parameter.
boolean) value.
java.lang.InterruptedException - Interrupted Exception.countKeyPublished(String,Object,Object,long),
countKeyPublished(String,Dictionary,long),
countKeyPublished(String,Object,Object),
countKeyPublished(String,Dictionary),
countKeyPublished(String,long),
countKeyPublished(String),
waitKeyPublished(String,Dictionary,int,int),
waitKeyPublished(String,int,int),
waitKeyPublished(String[],int),
wasKeyPublished(String,Object,Object,int),
wasKeyPublished(String,Dictionary,int),
wasKeyPublished(String,Object,Object),
wasKeyPublished(String,Dictionary),
wasKeyPublished(String),
wasKeyPublished(String[])
public boolean wasValuePublished(java.lang.Object dataKey,
java.lang.Object dataValue,
int duration)
throws java.lang.InterruptedException
dataKey - The data key (Object) parameter.dataValue - The data value (Object) parameter.duration - The duration (int) parameter.
boolean) value.
java.lang.InterruptedException - Interrupted Exception.wasValuePublished(Object,Object)
public boolean wasValuePublished(java.lang.Object dataKey,
java.lang.Object dataValue)
dataKey - The data key (Object) parameter.dataValue - The data value (Object) parameter.
boolean) value.wasValuePublished(Object,Object,int)
|
1.0.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||