public class EventImpl extends Object implements Event, Serializable
| Modifier and Type | Field and Description |
|---|---|
protected String |
mComponentName
The component name.
|
protected String |
mComponentProjectPathName
The project the component is in.
|
protected String |
mComponentType
The component type.
|
protected String |
mDeploymentName
The deployment name.
|
protected String |
mEnvironmentName
The environment name.
|
protected long |
mId
The notification event id (autogenerated).
|
protected String |
mLogicalHostName
The logical host name.
|
protected String |
mPhysicalHostName
The physical host name.
|
protected String |
mServerName
The server name.
|
protected String |
mServerType
The server type.
|
protected long |
mTimeStamp
The time that the event was generated.
|
COMPONENT_TYPE_BPEL, COMPONENT_TYPE_COLLABORATION, COMPONENT_TYPE_EWAY, COMPONENT_TYPE_STCMS, SERVER_TYPE_INTEGRATION, SERVER_TYPE_MESSAGE| Constructor and Description |
|---|
EventImpl()
Event Constructor.
|
EventImpl(String componentType,
String componentProjectPathName,
String componentName,
long timeStamp)
Event Constructor.
|
EventImpl(String physicalHostName,
String environmentName,
String logicalHostName,
String serverType,
String serverName,
String componentType,
String componentProjectPathName,
String componentName,
long timeStamp)
Event Constructor.
|
EventImpl(String physicalHostName,
String deploymentName,
String environmentName,
String logicalHostName,
String serverType,
String serverName,
String componentType,
String componentProjectPathName,
String componentName,
long timeStamp)
Event Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o)
Compare two Event objects.
/**
Compare two Event objects.
|
String |
getComponentName()
The getter method for the component name.
|
String |
getComponentProjectPathName()
The getter method for the component's project.
|
String |
getComponentType()
The getter method for the component type.
|
String |
getDeploymentName()
The getter method for the deployment name.
|
String |
getEnvironmentName()
The getter method for the environment name.
|
long |
getId()
The notification event id
|
String |
getLogicalHostName()
The getter method for the logical host name.
|
String |
getPhysicalHostName()
The getter method for the physical host name.
|
String |
getServerName()
The getter method for the server name.
|
String |
getServerType()
The getter method for the server type.
|
long |
getTimeStamp()
The getter method for the time stamp.
|
int |
hashCode()
Generate a hashcode for the event.
|
void |
setComponentName(String componentName)
The setter method for the component name.
|
void |
setComponentProjectPathName(String componentProjectPathName)
The setter method for the full path name of the project in which
the component is in.
|
void |
setComponentType(String componentType)
The setter method for the component type.
|
void |
setDeploymentName(String deploymentName)
The setter method for the deployment name.
|
void |
setEnvironmentName(String environmentName)
The setter method for the environment name.
|
void |
setId(long id)
Set the id.
|
void |
setLogicalHostName(String logicalHostName)
The setter method for the logical host name.
|
void |
setPhysicalHostName(String physicalHostName)
The setter method for the physical host name.
|
void |
setServerName(String serverName)
The setter method for the server name.
|
void |
setServerType(String serverType)
The setter method for the server type.
|
void |
setTimeStamp()
The setter method for the time stamp.
|
void |
setTimeStamp(long timeStamp)
The setter method for the time stamp.
|
String |
toString()
Generate a string representation of the event.
|
protected long mId
protected String mPhysicalHostName
protected String mDeploymentName
protected String mEnvironmentName
protected String mLogicalHostName
protected String mServerType
protected String mServerName
protected String mComponentType
protected String mComponentProjectPathName
protected String mComponentName
protected long mTimeStamp
public EventImpl()
public EventImpl(String physicalHostName, String deploymentName, String environmentName, String logicalHostName, String serverType, String serverName, String componentType, String componentProjectPathName, String componentName, long timeStamp)
physicalHostName - the name of the physical hostdeploymentName - the name of the deploymentenvironmentName - the name of the environmentlogicalHostName - the name of the logical hostserverType - the type of the server (INTEGRATION,
MESSAGE)serverName - the name of the servercomponentType - the type of the component
(COLLABORATION_COMPONENT)componentProjectPathName - the full path name of the project in
which the component is in. Note the names
of the project and its sub-projects, if
any, are separated by '/'.componentName - the name of the componenttimeStamp - the timestamp of when the event was
generatedpublic EventImpl(String physicalHostName, String environmentName, String logicalHostName, String serverType, String serverName, String componentType, String componentProjectPathName, String componentName, long timeStamp)
physicalHostName - the name of the physical hostenvironmentName - the name of the environmentlogicalHostName - the name of the logical hostserverType - the type of the server (INTEGRATION,
MESSAGE)serverName - the name of the servercomponentType - the type of the component
(COLLABORATION_COMPONENT)componentProjectPathName - the full path name of the project in
which the component is in. Note the names
of the project and its sub-projects, if
any, are separated by '/'.componentName - the name of the componenttimeStamp - the timestamp of when the event was
generatedpublic EventImpl(String componentType, String componentProjectPathName, String componentName, long timeStamp)
componentType - the type of the component
(COLLABORATION_COMPONENT)componentProjectPathName - the full path name of the project in
which the component is in. Note the names
of the project and its sub-projects, if
any, are separated by '/'.componentName - the name of the componenttimeStamp - the timestamp of when the event was
generatedpublic String getPhysicalHostName()
getPhysicalHostName in interface Eventpublic void setPhysicalHostName(String physicalHostName)
setPhysicalHostName in interface EventphysicalHostName - the name of the physical hostpublic String getDeploymentName()
getDeploymentName in interface Eventpublic void setDeploymentName(String deploymentName)
setDeploymentName in interface EventdeploymentName - the name of the deploymentpublic String getEnvironmentName()
getEnvironmentName in interface Eventpublic void setEnvironmentName(String environmentName)
setEnvironmentName in interface EventenvironmentName - the name of the environmentpublic String getLogicalHostName()
getLogicalHostName in interface Eventpublic void setLogicalHostName(String logicalHostName)
setLogicalHostName in interface EventlogicalHostName - the name of the logical hostpublic String getServerType()
getServerType in interface Eventpublic void setServerType(String serverType)
setServerType in interface EventserverType - the type of the serverpublic String getServerName()
getServerName in interface Eventpublic void setServerName(String serverName)
setServerName in interface EventserverName - the name of the serverpublic String getComponentType()
getComponentType in interface Eventpublic void setComponentType(String componentType)
setComponentType in interface EventcomponentType - the type of the componentpublic String getComponentProjectPathName()
getComponentProjectPathName in interface Eventpublic void setComponentProjectPathName(String componentProjectPathName)
setComponentProjectPathName in interface EventcomponentProjectPathName - the projectpublic String getComponentName()
getComponentName in interface Eventpublic void setComponentName(String componentName)
setComponentName in interface EventcomponentName - the name of the componentpublic long getTimeStamp()
getTimeStamp in interface Eventpublic void setTimeStamp()
setTimeStamp in interface Eventpublic void setTimeStamp(long timeStamp)
setTimeStamp in interface EventtimeStamp - the time stamppublic boolean equals(Object o)
public int hashCode()
public String toString()
public long getId()
public void setId(long id)
id - the idCopyright © 2011-2016 OpenESB Community. All Rights Reserved.