public class DeploymentNotificationMessage extends Object
| Modifier and Type | Field and Description |
|---|---|
Properties |
properties |
| Constructor and Description |
|---|
DeploymentNotificationMessage()
The default constructor is required by JAXB
to do serialization.
|
DeploymentNotificationMessage(org.wso2.carbon.deployment.engine.Artifact artifact) |
DeploymentNotificationMessage(org.wso2.carbon.deployment.engine.Artifact artifact,
Date timestamp)
Extracts info from the Artifact object.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
getArtifactKey() |
String |
getArtifactType() |
org.wso2.carbon.deployment.engine.LifecycleEvent.RESULT |
getCurrentDeploymentResult() |
org.wso2.carbon.deployment.engine.LifecycleEvent.STATE |
getLifecycleState() |
String |
getMessage() |
Properties |
getProperties() |
String |
getServerId() |
Date |
getTimestamp() |
void |
setArtifactKey(Object artifactKey) |
void |
setArtifactType(String artifactType) |
void |
setCurrentDeploymentResult(org.wso2.carbon.deployment.engine.LifecycleEvent.RESULT currentDeploymentResult) |
void |
setLifecycleState(org.wso2.carbon.deployment.engine.LifecycleEvent.STATE lifecycleState) |
void |
setProperties(Properties properties) |
void |
setServerId(String host) |
void |
setTimestamp(Date timestamp) |
void |
setTraceContent(String message) |
String |
toString() |
public Properties properties
public DeploymentNotificationMessage(org.wso2.carbon.deployment.engine.Artifact artifact)
public DeploymentNotificationMessage()
public DeploymentNotificationMessage(org.wso2.carbon.deployment.engine.Artifact artifact,
Date timestamp)
artifact - The artifact that we need to extract info frompublic Object getArtifactKey()
public void setArtifactKey(Object artifactKey)
public String getArtifactType()
public void setArtifactType(String artifactType)
public String getServerId()
public void setServerId(String host)
public Date getTimestamp()
public void setTimestamp(Date timestamp)
public org.wso2.carbon.deployment.engine.LifecycleEvent.STATE getLifecycleState()
public void setLifecycleState(org.wso2.carbon.deployment.engine.LifecycleEvent.STATE lifecycleState)
public org.wso2.carbon.deployment.engine.LifecycleEvent.RESULT getCurrentDeploymentResult()
public void setCurrentDeploymentResult(org.wso2.carbon.deployment.engine.LifecycleEvent.RESULT currentDeploymentResult)
public String getMessage()
public void setTraceContent(String message)
public Properties getProperties()
public void setProperties(Properties properties)
Copyright © 2019 WSO2. All rights reserved.