@Entity public class SLASummaryBean extends Object implements JsonBean
Constructor and Description |
---|
SLASummaryBean() |
SLASummaryBean(SLACalcStatus slaCalc) |
public SLASummaryBean()
public SLASummaryBean(SLACalcStatus slaCalc)
public String getParentId()
public void setParentId(String parentId)
public Timestamp getCreatedTimestamp()
public void setCreatedTimestamp(Timestamp createdTime)
public Date getCreatedTime()
public void setCreatedTime(Date createdTime)
public Date getNominalTime()
public Timestamp getNominalTimestamp()
public void setNominalTime(Date nominalTime)
public Date getExpectedStart()
public Timestamp getExpectedStartTimestamp()
public void setExpectedStart(Date expectedStart)
public Date getExpectedEnd()
public Timestamp getExpectedEndTimestamp()
public void setExpectedEnd(Date expectedEnd)
public long getExpectedDuration()
public void setExpectedDuration(long expectedDuration)
public Date getActualStart()
public Timestamp getActualStartTimestamp()
public void setActualStart(Date actualStart)
public Date getActualEnd()
public Timestamp getActualEndTimestamp()
public void setActualEnd(Date actualEnd)
public long getActualDuration()
public void setActualDuration(long actualDuration)
public String getJobStatus()
public void setJobStatus(String status)
public SLAEvent.EventStatus getEventStatus()
public void setEventStatus(SLAEvent.EventStatus eventStatus)
public SLAEvent.SLAStatus getSLAStatus()
public String getSLAStatusString()
public String getEventStatusString()
public void setSLAStatus(SLAEvent.SLAStatus stage)
public String getAppName()
public void setAppName(String appName)
public AppType getAppType()
public void setAppType(AppType appType)
public byte getEventProcessed()
public void setEventProcessed(int eventProcessed)
public Date getLastModifiedTime()
public Timestamp getLastModifiedTimestamp()
public void setLastModifiedTime(Date lastModified)
public org.json.simple.JSONObject toJSONObject()
JsonBean
toJSONObject
in interface JsonBean
public org.json.simple.JSONObject toJSONObject(String timeZoneId)
JsonBean
toJSONObject
in interface JsonBean
timeZoneId
- the time zone to usepublic static org.json.simple.JSONObject toJSONObject(List<? extends SLASummaryBean> slaSummaryList, String timeZoneId)
slaSummaryList
- sla summary list.timeZoneId
- time zone to use for dates in the JSON array.public static org.json.simple.JSONObject toJSONObject(List<? extends SLASummaryBean> slaSummaryList, Map<String,Map<String,String>> slaConfigMap, String timeZoneId)
Copyright © 2018 Apache Software Foundation. All rights reserved.