org.apache.oozie.client.rest
Class JsonSLAEvent
java.lang.Object
org.apache.oozie.client.rest.JsonSLAEvent
- All Implemented Interfaces:
- JsonBean, SLAEvent
- Direct Known Subclasses:
- SLAEventBean
public class JsonSLAEvent
- extends Object
- implements SLAEvent, JsonBean
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JsonSLAEvent
public JsonSLAEvent()
JsonSLAEvent
public JsonSLAEvent(org.json.simple.JSONObject json)
getEvent_id
public long getEvent_id()
- Specified by:
getEvent_id
in interface SLAEvent
setEvent_id
public void setEvent_id(long id)
getSlaId
public String getSlaId()
- Specified by:
getSlaId
in interface SLAEvent
setSlaId
public void setSlaId(String slaId)
getAppType
public SLAEvent.SlaAppType getAppType()
- Specified by:
getAppType
in interface SLAEvent
setAppType
public void setAppType(SLAEvent.SlaAppType appType)
getAppName
public String getAppName()
- Specified by:
getAppName
in interface SLAEvent
setAppName
public void setAppName(String appName)
getUser
public String getUser()
- Specified by:
getUser
in interface SLAEvent
setUser
public void setUser(String user)
getGroupName
public String getGroupName()
- Specified by:
getGroupName
in interface SLAEvent
setGroupName
public void setGroupName(String groupName)
getParentClientId
public String getParentClientId()
- Specified by:
getParentClientId
in interface SLAEvent
setParentClientId
public void setParentClientId(String parentClientId)
getParentSlaId
public String getParentSlaId()
- Specified by:
getParentSlaId
in interface SLAEvent
setParentSlaId
public void setParentSlaId(String parentSlaId)
getExpectedStart
public Date getExpectedStart()
- Specified by:
getExpectedStart
in interface SLAEvent
setExpectedStart
public void setExpectedStart(Date expectedStart)
getExpectedEnd
public Date getExpectedEnd()
- Specified by:
getExpectedEnd
in interface SLAEvent
setExpectedEnd
public void setExpectedEnd(Date expectedEnd)
getStatusTimestamp
public Date getStatusTimestamp()
- Specified by:
getStatusTimestamp
in interface SLAEvent
setStatusTimestamp
public void setStatusTimestamp(Date statusTimestamp)
getNotificationMsg
public String getNotificationMsg()
- Specified by:
getNotificationMsg
in interface SLAEvent
setNotificationMsg
public void setNotificationMsg(String notificationMsg)
getAlertContact
public String getAlertContact()
- Specified by:
getAlertContact
in interface SLAEvent
setAlertContact
public void setAlertContact(String alertContact)
getDevContact
public String getDevContact()
- Specified by:
getDevContact
in interface SLAEvent
setDevContact
public void setDevContact(String devContact)
getQaContact
public String getQaContact()
- Specified by:
getQaContact
in interface SLAEvent
setQaContact
public void setQaContact(String qaContact)
getSeContact
public String getSeContact()
- Specified by:
getSeContact
in interface SLAEvent
setSeContact
public void setSeContact(String seContact)
getAlertFrequency
public String getAlertFrequency()
- Specified by:
getAlertFrequency
in interface SLAEvent
setAlertFrequency
public void setAlertFrequency(String alertFrequency)
getAlertPercentage
public String getAlertPercentage()
- Specified by:
getAlertPercentage
in interface SLAEvent
setAlertPercentage
public void setAlertPercentage(String alertPercentage)
getUpstreamApps
public String getUpstreamApps()
- Specified by:
getUpstreamApps
in interface SLAEvent
setUpstreamApps
public void setUpstreamApps(String upstreamApps)
getJobStatus
public SLAEvent.Status getJobStatus()
- Specified by:
getJobStatus
in interface SLAEvent
setJobStatus
public void setJobStatus(SLAEvent.Status jobStatus)
getJobData
public String getJobData()
- Specified by:
getJobData
in interface SLAEvent
setJobData
public void setJobData(String jobData)
toJSONObject
public org.json.simple.JSONObject toJSONObject()
- Description copied from interface:
JsonBean
- Return the JSONObject for the bean.
- Specified by:
toJSONObject
in interface JsonBean
- Returns:
- the JSONObject for the bean.
Copyright © 2011 Yahoo. All Rights Reserved.