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 java.lang.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 java.lang.String getSlaId()
- Specified by:
getSlaId
in interface SLAEvent
setSlaId
public void setSlaId(java.lang.String slaId)
getAppType
public SLAEvent.SlaAppType getAppType()
- Specified by:
getAppType
in interface SLAEvent
setAppType
public void setAppType(SLAEvent.SlaAppType appType)
getAppName
public java.lang.String getAppName()
- Specified by:
getAppName
in interface SLAEvent
setAppName
public void setAppName(java.lang.String appName)
getUser
public java.lang.String getUser()
- Specified by:
getUser
in interface SLAEvent
setUser
public void setUser(java.lang.String user)
getGroupName
public java.lang.String getGroupName()
- Specified by:
getGroupName
in interface SLAEvent
setGroupName
public void setGroupName(java.lang.String groupName)
getParentClientId
public java.lang.String getParentClientId()
- Specified by:
getParentClientId
in interface SLAEvent
setParentClientId
public void setParentClientId(java.lang.String parentClientId)
getParentSlaId
public java.lang.String getParentSlaId()
- Specified by:
getParentSlaId
in interface SLAEvent
setParentSlaId
public void setParentSlaId(java.lang.String parentSlaId)
getExpectedStart
public java.util.Date getExpectedStart()
- Specified by:
getExpectedStart
in interface SLAEvent
setExpectedStart
public void setExpectedStart(java.util.Date expectedStart)
getExpectedEnd
public java.util.Date getExpectedEnd()
- Specified by:
getExpectedEnd
in interface SLAEvent
setExpectedEnd
public void setExpectedEnd(java.util.Date expectedEnd)
getStatusTimestamp
public java.util.Date getStatusTimestamp()
- Specified by:
getStatusTimestamp
in interface SLAEvent
setStatusTimestamp
public void setStatusTimestamp(java.util.Date statusTimestamp)
getNotificationMsg
public java.lang.String getNotificationMsg()
- Specified by:
getNotificationMsg
in interface SLAEvent
setNotificationMsg
public void setNotificationMsg(java.lang.String notificationMsg)
getAlertContact
public java.lang.String getAlertContact()
- Specified by:
getAlertContact
in interface SLAEvent
setAlertContact
public void setAlertContact(java.lang.String alertContact)
getDevContact
public java.lang.String getDevContact()
- Specified by:
getDevContact
in interface SLAEvent
setDevContact
public void setDevContact(java.lang.String devContact)
getQaContact
public java.lang.String getQaContact()
- Specified by:
getQaContact
in interface SLAEvent
setQaContact
public void setQaContact(java.lang.String qaContact)
getSeContact
public java.lang.String getSeContact()
- Specified by:
getSeContact
in interface SLAEvent
setSeContact
public void setSeContact(java.lang.String seContact)
getAlertFrequency
public java.lang.String getAlertFrequency()
- Specified by:
getAlertFrequency
in interface SLAEvent
setAlertFrequency
public void setAlertFrequency(java.lang.String alertFrequency)
getAlertPercentage
public java.lang.String getAlertPercentage()
- Specified by:
getAlertPercentage
in interface SLAEvent
setAlertPercentage
public void setAlertPercentage(java.lang.String alertPercentage)
getUpstreamApps
public java.lang.String getUpstreamApps()
- Specified by:
getUpstreamApps
in interface SLAEvent
setUpstreamApps
public void setUpstreamApps(java.lang.String upstreamApps)
getJobStatus
public SLAEvent.Status getJobStatus()
- Specified by:
getJobStatus
in interface SLAEvent
setJobStatus
public void setJobStatus(SLAEvent.Status jobStatus)
getJobData
public java.lang.String getJobData()
- Specified by:
getJobData
in interface SLAEvent
setJobData
public void setJobData(java.lang.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 © 2010 Yahoo. All Rights Reserved.