This project has retired. For details please refer to its
        
        Attic page.
      
org.apache.oozie.sla
Class SLASummaryBean
java.lang.Object
   org.apache.oozie.sla.SLASummaryBean
org.apache.oozie.sla.SLASummaryBean
- All Implemented Interfaces: 
- JsonBean
- @Entity
public class SLASummaryBean 
- extends Object- implements JsonBean
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
SLASummaryBean
public SLASummaryBean()
SLASummaryBean
public SLASummaryBean(SLACalcStatus slaCalc)
getId
public String getId()
- 
 
- 
 
setId
public void setId(String jobId)
- 
 
- 
 
getParentId
public String getParentId()
- 
 
- 
 
setParentId
public void setParentId(String parentId)
- 
 
- 
 
getNominalTime
public Date getNominalTime()
- 
 
- 
 
setNominalTime
public void setNominalTime(Date nominalTime)
- 
 
- 
 
getExpectedStart
public Date getExpectedStart()
- 
 
- 
 
setExpectedStart
public void setExpectedStart(Date expectedStart)
- 
 
- 
 
getExpectedEnd
public Date getExpectedEnd()
- 
 
- 
 
setExpectedEnd
public void setExpectedEnd(Date expectedEnd)
- 
 
- 
 
getExpectedDuration
public long getExpectedDuration()
- 
 
- 
 
setExpectedDuration
public void setExpectedDuration(long expectedDuration)
- 
 
- 
 
getActualStart
public Date getActualStart()
- 
 
- 
 
setActualStart
public void setActualStart(Date actualStart)
- 
 
- 
 
getActualEnd
public Date getActualEnd()
- 
 
- 
 
setActualEnd
public void setActualEnd(Date actualEnd)
- 
 
- 
 
getActualDuration
public long getActualDuration()
- 
 
- 
 
setActualDuration
public void setActualDuration(long actualDuration)
- 
 
- 
 
getJobStatus
public String getJobStatus()
- 
 
- 
 
setJobStatus
public void setJobStatus(String status)
- 
 
- 
 
getEventStatus
public org.apache.oozie.client.event.SLAEvent.EventStatus getEventStatus()
- 
 
- 
 
setEventStatus
public void setEventStatus(org.apache.oozie.client.event.SLAEvent.EventStatus eventStatus)
- 
 
- 
 
getSLAStatus
public org.apache.oozie.client.event.SLAEvent.SLAStatus getSLAStatus()
- 
 
- 
 
getSLAStatusString
public String getSLAStatusString()
- 
 
- 
 
getEventStatusString
public String getEventStatusString()
- 
 
- 
 
setSLAStatus
public void setSLAStatus(org.apache.oozie.client.event.SLAEvent.SLAStatus stage)
- 
 
- 
 
getUser
public String getUser()
- 
 
- 
 
setUser
public void setUser(String user)
- 
 
- 
 
getAppName
public String getAppName()
- 
 
- 
 
setAppName
public void setAppName(String appName)
- 
 
- 
 
getAppType
public org.apache.oozie.AppType getAppType()
- 
 
- 
 
setAppType
public void setAppType(org.apache.oozie.AppType appType)
- 
 
- 
 
getEventProcessed
public byte getEventProcessed()
- 
 
- 
 
setEventProcessed
public void setEventProcessed(int eventProcessed)
- 
 
- 
 
getLastModifiedTime
public Date getLastModifiedTime()
- 
 
- 
 
setLastModifiedTime
public void setLastModifiedTime(Date lastModified)
- 
 
- 
 
toJSONObject
public org.json.simple.JSONObject toJSONObject()
- Description copied from interface: JsonBean
- Return the JSONObject for the bean with GMT time zone.
 
- 
- Specified by:
- toJSONObjectin interface- JsonBean
 
- 
- Returns:
- the JSONObject for the bean with GMT time zone.
 
toJSONObject
public org.json.simple.JSONObject toJSONObject(String timeZoneId)
- Description copied from interface: JsonBean
- Return the JSONObject for the bean with the given time zone.
 
- 
- Specified by:
- toJSONObjectin interface- JsonBean
 
- 
- Parameters:
- timeZoneId- the time zone to use
- Returns:
- the JSONObject for the bean with the given time zone.
 
toJSONObject
public static org.json.simple.JSONObject toJSONObject(List<? extends SLASummaryBean> slaSummaryList,
                                                      String timeZoneId)
- Convert a sla summary list into a json object.
 
- 
 
- 
- Parameters:
- slaSummaryList- sla summary list.
- timeZoneId- time zone to use for dates in the JSON array.
- Returns:
- the corresponding JSON object.
 
Copyright © 2013 Apache Software Foundation. All Rights Reserved.