public class AwarenessInfo extends Object
Modifier and Type | Field and Description |
---|---|
static String |
PROPERTY_AWAMECHANISM
The mechanism src.
|
static String |
PROPERTY_JADEXDATE
The property for the Jadex build date.
|
static String |
PROPERTY_JADEXVERSION
The property for the Jadex version.
|
static String |
STATE_ALLOFFLINE
Hack.
|
static String |
STATE_OFFLINE
State indicating that a component is going offline.
|
static String |
STATE_ONLINE
State indicating that a component is currently online.
|
Constructor and Description |
---|
AwarenessInfo()
Create a new awareness info.
|
AwarenessInfo(IComponentIdentifier sender,
String state,
long delay,
String[] includes,
String[] excludes,
String masterid,
String mechsrc)
Create a new awareness info.
|
Modifier and Type | Method and Description |
---|---|
long |
getDelay()
Get the delay.
|
String[] |
getExcludes()
Get the excludes.
|
String[] |
getIncludes()
Get the includes.
|
String |
getMasterId()
Get the masterid.
|
Map<String,String> |
getProperties()
Get the properties.
|
IComponentIdentifier |
getSender()
Get the sender.
|
String |
getState()
Get the state.
|
void |
setDelay(long delay)
Set the delay.
|
void |
setExcludes(String[] excludes)
Set the excludes.
|
void |
setIncludes(String[] includes)
Set the includes.
|
void |
setMasterId(String masterid)
Set the masterid.
|
void |
setProperties(Map<String,String> props)
Set the properties.
|
void |
setSender(IComponentIdentifier sender)
Set the sender.
|
void |
setState(String state)
Set the state.
|
String |
toString()
Get the string representation.
|
public static final String STATE_ONLINE
public static final String STATE_OFFLINE
public static final String STATE_ALLOFFLINE
public static final String PROPERTY_JADEXVERSION
public static final String PROPERTY_JADEXDATE
public static final String PROPERTY_AWAMECHANISM
public IComponentIdentifier getSender()
public void setSender(IComponentIdentifier sender)
sender
- The sender to set.public String getState()
public void setState(String state)
state
- The state to set.public long getDelay()
public void setDelay(long delay)
delay
- The delay to set.public String[] getIncludes()
public void setIncludes(String[] includes)
includes
- The includes to set.public void setExcludes(String[] excludes)
excludes
- The excludes to set.public String[] getExcludes()
public String getMasterId()
public void setMasterId(String masterid)
masterid
- The masterid to set.public Map<String,String> getProperties()
public void setProperties(Map<String,String> props)
props
- The properties.Copyright © 2013. All Rights Reserved.