public class ServiceChangeEvent extends EventObject
source| Constructor and Description |
|---|
ServiceChangeEvent(Object source,
PModelHandle pm)
Constructs a ServiceChangeEvent object.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
deferredCountChanged() |
PModelHandle |
getService()
Retrieves the service that was changed
|
String |
getStateName()
Get the state name.
|
int |
getStatus()
Retrieves the new status for the event.
|
boolean |
loginChanged() |
boolean |
passwordChanged() |
void |
setDeferredCountChanged(boolean b)
Used to indicate that the number of def.
|
void |
setLoginChanged(boolean b)
Used to indicate that the login for this service changed
|
void |
setPasswordChanged(boolean b)
Used to indicate that the password for this service changed
|
void |
setStateName(String stateName)
Set the state name.
|
void |
setStatus(int status)
Indicates the new status for this event
|
void |
setStatusChanged(boolean b)
Used to indicate that the status for this service changed
|
boolean |
statusChanged() |
getSource, toStringpublic ServiceChangeEvent(Object source, PModelHandle pm)
source - the Object that is the source of the event
(typically this)pm - the service objectpublic PModelHandle getService()
public boolean loginChanged()
public boolean passwordChanged()
public boolean statusChanged()
public void setStatus(int status)
The - new service statuspublic int getStatus()
public boolean deferredCountChanged()
public void setLoginChanged(boolean b)
b - set to true to indicate a change; false by defaultpublic void setPasswordChanged(boolean b)
b - set to true to indicate a change; false by defaultpublic void setStatusChanged(boolean b)
b - set to true to indicate a change; false by defaultpublic void setDeferredCountChanged(boolean b)
b - set to true to indicate a change; false by defaultpublic void setStateName(String stateName)
stateName - state name.public String getStateName()
Copyright © 2003, 2023, Oracle and/or its affiliates.