public class ReportStatusEvent extends java.util.EventObject implements DescriptionReceiver
ReportStatusListener; the event
implements DescriptionReceiver; classes (typically,
HiveMind service implementations) that implement the listener interface will "describe"
themselves to the event.| Constructor and Description |
|---|
ReportStatusEvent(java.lang.Object source,
DescriptionReceiver receiver) |
| Modifier and Type | Method and Description |
|---|---|
void |
array(java.lang.String key,
java.lang.Object[] values)
Emits a list of values for the key.
|
void |
collection(java.lang.String key,
java.util.Collection values)
As with
DescriptionReceiver.array(String, Object[]), but the values are in a collection (which may be
null, to emit nothing). |
void |
describeAlternate(java.lang.Object alternate)
Invoke to describe another object instead of the current object.
|
void |
property(java.lang.String key,
boolean value) |
void |
property(java.lang.String key,
byte value) |
void |
property(java.lang.String key,
char value) |
void |
property(java.lang.String key,
double value) |
void |
property(java.lang.String key,
float value) |
void |
property(java.lang.String key,
int value) |
void |
property(java.lang.String key,
long value) |
void |
property(java.lang.String key,
java.lang.Object value)
Emits a key/value pair, describing a property of the object.
|
void |
property(java.lang.String key,
short value) |
void |
section(java.lang.String section)
Starts a new sub-section within the description.
|
void |
title(java.lang.String title)
Provides a title for the object; usually the object's class name.
|
public ReportStatusEvent(java.lang.Object source, DescriptionReceiver receiver)
public void array(java.lang.String key, java.lang.Object[] values)
DescriptionReceiverarray in interface DescriptionReceiverpublic void collection(java.lang.String key, java.util.Collection values)
DescriptionReceiverDescriptionReceiver.array(String, Object[]), but the values are in a collection (which may be
null, to emit nothing).collection in interface DescriptionReceiverpublic void describeAlternate(java.lang.Object alternate)
DescriptionReceiverdescribeAlternate in interface DescriptionReceiverpublic void property(java.lang.String key, boolean value)
property in interface DescriptionReceiverpublic void property(java.lang.String key, byte value)
property in interface DescriptionReceiverpublic void property(java.lang.String key, char value)
property in interface DescriptionReceiverpublic void property(java.lang.String key, double value)
property in interface DescriptionReceiverpublic void property(java.lang.String key, float value)
property in interface DescriptionReceiverpublic void property(java.lang.String key, int value)
property in interface DescriptionReceiverpublic void property(java.lang.String key, long value)
property in interface DescriptionReceiverpublic void property(java.lang.String key, java.lang.Object value)
DescriptionReceiverproperty in interface DescriptionReceiverpublic void property(java.lang.String key, short value)
property in interface DescriptionReceiverpublic void section(java.lang.String section)
DescriptionReceiversection in interface DescriptionReceiverpublic void title(java.lang.String title)
DescriptionReceivertitle in interface DescriptionReceiver