This project has retired. For details please refer to its
        
        Attic page.
      
org.apache.oozie.client.rest
Class JsonSLAEvent
java.lang.Object
   org.apache.oozie.client.rest.JsonSLAEvent
org.apache.oozie.client.rest.JsonSLAEvent
- All Implemented Interfaces: 
- JsonBean, org.apache.oozie.client.SLAEvent
- Direct Known Subclasses: 
- SLAEventBean
- @Entity
public class JsonSLAEvent 
- extends Object- implements org.apache.oozie.client.SLAEvent, JsonBean
 
| Nested classes/interfaces inherited from interface org.apache.oozie.client.SLAEvent | 
| org.apache.oozie.client.SLAEvent.SlaAppType, org.apache.oozie.client.SLAEvent.Status | 
 
 
 
| 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_idin interface- org.apache.oozie.client.SLAEvent
 
- 
 
setEvent_id
public void setEvent_id(long id)
- 
 
- 
 
getSlaId
public String getSlaId()
- 
- Specified by:
- getSlaIdin interface- org.apache.oozie.client.SLAEvent
 
- 
 
setSlaId
public void setSlaId(String slaId)
- 
 
- 
 
getAppType
public org.apache.oozie.client.SLAEvent.SlaAppType getAppType()
- 
- Specified by:
- getAppTypein interface- org.apache.oozie.client.SLAEvent
 
- 
 
setAppType
public void setAppType(org.apache.oozie.client.SLAEvent.SlaAppType appType)
- 
 
- 
 
getAppName
public String getAppName()
- 
- Specified by:
- getAppNamein interface- org.apache.oozie.client.SLAEvent
 
- 
 
setAppName
public void setAppName(String appName)
- 
 
- 
 
getUser
public String getUser()
- 
- Specified by:
- getUserin interface- org.apache.oozie.client.SLAEvent
 
- 
 
setUser
public void setUser(String user)
- 
 
- 
 
getGroupName
public String getGroupName()
- 
- Specified by:
- getGroupNamein interface- org.apache.oozie.client.SLAEvent
 
- 
 
setGroupName
public void setGroupName(String groupName)
- 
 
- 
 
getParentClientId
public String getParentClientId()
- 
- Specified by:
- getParentClientIdin interface- org.apache.oozie.client.SLAEvent
 
- 
 
setParentClientId
public void setParentClientId(String parentClientId)
- 
 
- 
 
getParentSlaId
public String getParentSlaId()
- 
- Specified by:
- getParentSlaIdin interface- org.apache.oozie.client.SLAEvent
 
- 
 
setParentSlaId
public void setParentSlaId(String parentSlaId)
- 
 
- 
 
getExpectedStart
public Date getExpectedStart()
- 
- Specified by:
- getExpectedStartin interface- org.apache.oozie.client.SLAEvent
 
- 
 
setExpectedStart
public void setExpectedStart(Date expectedStart)
- 
 
- 
 
getExpectedEnd
public Date getExpectedEnd()
- 
- Specified by:
- getExpectedEndin interface- org.apache.oozie.client.SLAEvent
 
- 
 
setExpectedEnd
public void setExpectedEnd(Date expectedEnd)
- 
 
- 
 
getStatusTimestamp
public Date getStatusTimestamp()
- 
- Specified by:
- getStatusTimestampin interface- org.apache.oozie.client.SLAEvent
 
- 
 
setStatusTimestamp
public void setStatusTimestamp(Date statusTimestamp)
- 
 
- 
 
getNotificationMsg
public String getNotificationMsg()
- 
- Specified by:
- getNotificationMsgin interface- org.apache.oozie.client.SLAEvent
 
- 
 
setNotificationMsg
public void setNotificationMsg(String notificationMsg)
- 
 
- 
 
getAlertContact
public String getAlertContact()
- 
- Specified by:
- getAlertContactin interface- org.apache.oozie.client.SLAEvent
 
- 
 
setAlertContact
public void setAlertContact(String alertContact)
- 
 
- 
 
getDevContact
public String getDevContact()
- 
- Specified by:
- getDevContactin interface- org.apache.oozie.client.SLAEvent
 
- 
 
setDevContact
public void setDevContact(String devContact)
- 
 
- 
 
getQaContact
public String getQaContact()
- 
- Specified by:
- getQaContactin interface- org.apache.oozie.client.SLAEvent
 
- 
 
setQaContact
public void setQaContact(String qaContact)
- 
 
- 
 
getSeContact
public String getSeContact()
- 
- Specified by:
- getSeContactin interface- org.apache.oozie.client.SLAEvent
 
- 
 
setSeContact
public void setSeContact(String seContact)
- 
 
- 
 
getAlertFrequency
public String getAlertFrequency()
- 
- Specified by:
- getAlertFrequencyin interface- org.apache.oozie.client.SLAEvent
 
- 
 
setAlertFrequency
public void setAlertFrequency(String alertFrequency)
- 
 
- 
 
getAlertPercentage
public String getAlertPercentage()
- 
- Specified by:
- getAlertPercentagein interface- org.apache.oozie.client.SLAEvent
 
- 
 
setAlertPercentage
public void setAlertPercentage(String alertPercentage)
- 
 
- 
 
getUpstreamApps
public String getUpstreamApps()
- 
- Specified by:
- getUpstreamAppsin interface- org.apache.oozie.client.SLAEvent
 
- 
 
setUpstreamApps
public void setUpstreamApps(String upstreamApps)
- 
 
- 
 
getJobStatus
public org.apache.oozie.client.SLAEvent.Status getJobStatus()
- 
- Specified by:
- getJobStatusin interface- org.apache.oozie.client.SLAEvent
 
- 
 
setJobStatus
public void setJobStatus(org.apache.oozie.client.SLAEvent.Status jobStatus)
- 
 
- 
 
getJobData
public String getJobData()
- 
- Specified by:
- getJobDatain interface- org.apache.oozie.client.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 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.
 
Copyright © 2013 Apache Software Foundation. All Rights Reserved.