public class WorkItemLifecycleEvent extends Object implements org.pentaho.platform.api.workitem.IWorkItemLifecycleEvent
Modifier and Type | Class and Description |
---|---|
static class |
WorkItemLifecycleEvent.DateAdapter
An implementation of
XmlAdapter that allows us to [de]serialize Dates as longs (milliseconds). |
Constructor and Description |
---|
WorkItemLifecycleEvent()
Default constructor, needed for serialization purposes.
|
WorkItemLifecycleEvent(String workItemUid,
String workItemDetails,
WorkItemLifecyclePhase workItemLifecyclePhase,
String lifecycleDetails,
Date sourceTimestamp)
Creates the
WorkItemLifecycleEvent with all the required parameters. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
String |
getLifecycleDetails() |
String |
getSourceHostIp() |
String |
getSourceHostName() |
Date |
getSourceTimestamp() |
String |
getWorkItemDetails() |
WorkItemLifecyclePhase |
getWorkItemLifecyclePhase() |
String |
getWorkItemUid() |
int |
hashCode() |
void |
setLifecycleDetails(String lifecycleDetails) |
void |
setSourceHostIp(String sourceHostIp) |
void |
setSourceHostName(String sourceHostName) |
void |
setSourceTimestamp(Date sourceTimestamp) |
void |
setWorkItemDetails(String workItemDetails) |
void |
setWorkItemLifecyclePhase(WorkItemLifecyclePhase workItemLifecyclePhase) |
void |
setWorkItemUid(String workItemUid) |
String |
toString() |
public WorkItemLifecycleEvent()
public WorkItemLifecycleEvent(String workItemUid, String workItemDetails, WorkItemLifecyclePhase workItemLifecyclePhase, String lifecycleDetails, Date sourceTimestamp)
WorkItemLifecycleEvent
with all the required parameters.workItemUid
- a String
containing unique identifier for the WorkItemLifecycleEvent
workItemDetails
- an String
containing details of the WorkItemLifecycleEvent
workItemLifecyclePhase
- a WorkItemLifecyclePhase
representing the lifecycle eventlifecycleDetails
- a String
containing any additional details about the lifecycle event, such as
pertinent failure messagessourceTimestamp
- a Date
representing the time the lifecycle change occurred.public String getWorkItemUid()
getWorkItemUid
in interface org.pentaho.platform.api.workitem.IWorkItemLifecycleEvent
public void setWorkItemUid(String workItemUid)
public String getWorkItemDetails()
getWorkItemDetails
in interface org.pentaho.platform.api.workitem.IWorkItemLifecycleEvent
public void setWorkItemDetails(String workItemDetails)
public WorkItemLifecyclePhase getWorkItemLifecyclePhase()
getWorkItemLifecyclePhase
in interface org.pentaho.platform.api.workitem.IWorkItemLifecycleEvent
public void setWorkItemLifecyclePhase(WorkItemLifecyclePhase workItemLifecyclePhase)
public String getLifecycleDetails()
getLifecycleDetails
in interface org.pentaho.platform.api.workitem.IWorkItemLifecycleEvent
public void setLifecycleDetails(String lifecycleDetails)
public Date getSourceTimestamp()
getSourceTimestamp
in interface org.pentaho.platform.api.workitem.IWorkItemLifecycleEvent
public void setSourceTimestamp(Date sourceTimestamp)
public String getSourceHostName()
getSourceHostName
in interface org.pentaho.platform.api.workitem.IWorkItemLifecycleEvent
public void setSourceHostName(String sourceHostName)
public String getSourceHostIp()
getSourceHostIp
in interface org.pentaho.platform.api.workitem.IWorkItemLifecycleEvent
public void setSourceHostIp(String sourceHostIp)
Copyright © 2019 Hitachi Vantara. All rights reserved.