org.apache.oozie.sla
Class SLAOperations

java.lang.Object
  extended by org.apache.oozie.sla.SLAOperations

public class SLAOperations
extends Object


Constructor Summary
SLAOperations()
           
 
Method Summary
static SLARegistrationBean createSlaRegistrationEvent(org.jdom.Element eSla, String jobId, org.apache.oozie.AppType appType, String user, String appName, XLog log)
           
static SLARegistrationBean createSlaRegistrationEvent(org.jdom.Element eSla, String jobId, org.apache.oozie.AppType appType, String user, XLog log)
           
static SLARegistrationBean createSlaRegistrationEvent(org.jdom.Element eSla, String jobId, String parentId, org.apache.oozie.AppType appType, String user, String appName, XLog log, boolean rerun)
           
static SLARegistrationBean createSlaRegistrationEvent(org.jdom.Element eSla, String jobId, String parentId, org.apache.oozie.AppType appType, String user, XLog log)
           
static void updateRegistrationEvent(String jobId)
          Retrieve registration event
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SLAOperations

public SLAOperations()
Method Detail

createSlaRegistrationEvent

public static SLARegistrationBean createSlaRegistrationEvent(org.jdom.Element eSla,
                                                             String jobId,
                                                             String parentId,
                                                             org.apache.oozie.AppType appType,
                                                             String user,
                                                             String appName,
                                                             XLog log,
                                                             boolean rerun)
                                                      throws CommandException
Throws:
CommandException

updateRegistrationEvent

public static void updateRegistrationEvent(String jobId)
                                    throws CommandException,
                                           JPAExecutorException
Retrieve registration event

Parameters:
jobId - the jobId
Throws:
CommandException
JPAExecutorException

createSlaRegistrationEvent

public static SLARegistrationBean createSlaRegistrationEvent(org.jdom.Element eSla,
                                                             String jobId,
                                                             org.apache.oozie.AppType appType,
                                                             String user,
                                                             String appName,
                                                             XLog log)
                                                      throws CommandException
Throws:
CommandException

createSlaRegistrationEvent

public static SLARegistrationBean createSlaRegistrationEvent(org.jdom.Element eSla,
                                                             String jobId,
                                                             String parentId,
                                                             org.apache.oozie.AppType appType,
                                                             String user,
                                                             XLog log)
                                                      throws CommandException
Throws:
CommandException

createSlaRegistrationEvent

public static SLARegistrationBean createSlaRegistrationEvent(org.jdom.Element eSla,
                                                             String jobId,
                                                             org.apache.oozie.AppType appType,
                                                             String user,
                                                             XLog log)
                                                      throws CommandException
Throws:
CommandException


Copyright © 2013 Apache Software Foundation. All Rights Reserved.