org.apache.oozie.util.db
Class SLADbOperations

java.lang.Object
  extended by org.apache.oozie.util.db.SLADbOperations

public class SLADbOperations
extends Object


Field Summary
static String CLIENT_ID_TAG
           
 
Constructor Summary
SLADbOperations()
           
 
Method Summary
static SLAEventBean createSlaRegistrationEvent(org.jdom.Element eSla, Store store, String slaId, org.apache.oozie.client.SLAEvent.SlaAppType appType, String user, String groupName)
           
static SLAEventBean createSlaRegistrationEvent(org.jdom.Element eSla, String slaId, org.apache.oozie.client.SLAEvent.SlaAppType appType, String user, String groupName, XLog log)
           
static SLAEventBean createSlaStatusEvent(String id, org.apache.oozie.client.SLAEvent.Status status, org.apache.oozie.client.SLAEvent.SlaAppType appType, XLog log)
           
static SLAEventBean createSlaStatusEvent(String id, org.apache.oozie.client.SLAEvent.Status status, Store store, org.apache.oozie.client.SLAEvent.SlaAppType appType)
           
static SLAEventBean createStatusEvent(String slaXml, String id, org.apache.oozie.client.SLAEvent.Status stat, org.apache.oozie.client.SLAEvent.SlaAppType appType, XLog log)
           
static SLAEventBean createStatusEvent(String slaXml, String id, Store store, org.apache.oozie.client.SLAEvent.Status stat, org.apache.oozie.client.SLAEvent.SlaAppType appType)
           
static String getClientId()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CLIENT_ID_TAG

public static final String CLIENT_ID_TAG
See Also:
Constant Field Values
Constructor Detail

SLADbOperations

public SLADbOperations()
Method Detail

createSlaRegistrationEvent

public static SLAEventBean createSlaRegistrationEvent(org.jdom.Element eSla,
                                                      Store store,
                                                      String slaId,
                                                      org.apache.oozie.client.SLAEvent.SlaAppType appType,
                                                      String user,
                                                      String groupName)
                                               throws Exception
Throws:
Exception

createSlaRegistrationEvent

public static SLAEventBean createSlaRegistrationEvent(org.jdom.Element eSla,
                                                      String slaId,
                                                      org.apache.oozie.client.SLAEvent.SlaAppType appType,
                                                      String user,
                                                      String groupName,
                                                      XLog log)
                                               throws Exception
Throws:
Exception

createSlaStatusEvent

public static SLAEventBean createSlaStatusEvent(String id,
                                                org.apache.oozie.client.SLAEvent.Status status,
                                                Store store,
                                                org.apache.oozie.client.SLAEvent.SlaAppType appType)
                                         throws Exception
Throws:
Exception

createSlaStatusEvent

public static SLAEventBean createSlaStatusEvent(String id,
                                                org.apache.oozie.client.SLAEvent.Status status,
                                                org.apache.oozie.client.SLAEvent.SlaAppType appType,
                                                XLog log)
                                         throws Exception
Throws:
Exception

createStatusEvent

public static SLAEventBean createStatusEvent(String slaXml,
                                             String id,
                                             Store store,
                                             org.apache.oozie.client.SLAEvent.Status stat,
                                             org.apache.oozie.client.SLAEvent.SlaAppType appType)
                                      throws CommandException
Throws:
CommandException

createStatusEvent

public static SLAEventBean createStatusEvent(String slaXml,
                                             String id,
                                             org.apache.oozie.client.SLAEvent.Status stat,
                                             org.apache.oozie.client.SLAEvent.SlaAppType appType,
                                             XLog log)
                                      throws CommandException
Throws:
CommandException

getClientId

public static String getClientId()


Copyright © 2013 Apache Software Foundation. All Rights Reserved.