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 String getClientId()
           
static void writeSlaRegistrationEvent(org.jdom.Element eSla, Store store, String slaId, org.apache.oozie.client.SLAEvent.SlaAppType appType, String user, String groupName)
           
static void writeSlaRegistrationEvent(org.jdom.Element eSla, String slaId, org.apache.oozie.client.SLAEvent.SlaAppType appType, String user, String groupName, XLog log)
           
static void writeSlaStatusEvent(String id, org.apache.oozie.client.SLAEvent.Status status, org.apache.oozie.client.SLAEvent.SlaAppType appType, XLog log)
           
static void writeSlaStatusEvent(String id, org.apache.oozie.client.SLAEvent.Status status, Store store, org.apache.oozie.client.SLAEvent.SlaAppType appType)
           
static void writeStausEvent(String slaXml, String id, org.apache.oozie.client.SLAEvent.Status stat, org.apache.oozie.client.SLAEvent.SlaAppType appType, XLog log)
           
static void writeStausEvent(String slaXml, String id, Store store, org.apache.oozie.client.SLAEvent.Status stat, org.apache.oozie.client.SLAEvent.SlaAppType appType)
           
 
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

writeSlaRegistrationEvent

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

writeSlaRegistrationEvent

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

writeSlaStatusEvent

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

writeSlaStatusEvent

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

writeStausEvent

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

writeStausEvent

public static void writeStausEvent(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 © 2012 Apache Software Foundation. All Rights Reserved.