public class StatusChangeEvent extends EventObject
Modifier and Type | Field and Description |
---|---|
static int |
ACCOUNT |
static int |
SERVICE |
source
Constructor and Description |
---|
StatusChangeEvent(Object source,
int type,
int status)
Constructs a StatusChangeEvent object.
|
Modifier and Type | Method and Description |
---|---|
int |
getStatus()
Retrieves the new status
|
int |
getType()
Retrieves the type of the status that changed
|
getSource, toString
public static final int ACCOUNT
public static final int SERVICE
public StatusChangeEvent(Object source, int type, int status)
source
- the Object that is the source of the event
(typically this
)type
- account or service that changed the statusstatus
- the new statusCopyright © 2003, 2023, Oracle and/or its affiliates.