org.apache.oozie.util.db
Class SLADbXOperations

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

Deprecated.

@Deprecated
public class SLADbXOperations
extends Object


Field Summary
static String CLIENT_ID_TAG
          Deprecated.  
 
Constructor Summary
SLADbXOperations()
          Deprecated.  
 
Method Summary
static SLAEventBean createSlaRegistrationEvent(org.jdom.Element eSla, String slaId, org.apache.oozie.client.SLAEvent.SlaAppType appType, String user, String groupName)
          Deprecated. Create SLA registration event
static SLAEventBean createSlaStatusEvent(String id, org.apache.oozie.client.SLAEvent.Status status, org.apache.oozie.client.SLAEvent.SlaAppType appType)
          Deprecated. Create SLA status event
static SLAEventBean createStatusEvent(String slaXml, String id, org.apache.oozie.client.SLAEvent.Status stat, org.apache.oozie.client.SLAEvent.SlaAppType appType)
          Deprecated. Create SLA status event
static String getClientId()
          Deprecated. Return client id
 
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
Deprecated. 
See Also:
Constant Field Values
Constructor Detail

SLADbXOperations

public SLADbXOperations()
Deprecated. 
Method Detail

createSlaRegistrationEvent

public static SLAEventBean createSlaRegistrationEvent(org.jdom.Element eSla,
                                                      String slaId,
                                                      org.apache.oozie.client.SLAEvent.SlaAppType appType,
                                                      String user,
                                                      String groupName)
                                               throws Exception
Deprecated. 
Create SLA registration event

Parameters:
eSla - SLA xml element
slaId - SLA Id
appType - SLA app type
user - user name
groupName - group name
Throws:
Exception

createSlaStatusEvent

public static SLAEventBean createSlaStatusEvent(String id,
                                                org.apache.oozie.client.SLAEvent.Status status,
                                                org.apache.oozie.client.SLAEvent.SlaAppType appType)
                                         throws Exception
Deprecated. 
Create SLA status event

Parameters:
id - SLA Id
status - SLA status
appType - SLA app type
Throws:
Exception

createStatusEvent

public static SLAEventBean createStatusEvent(String slaXml,
                                             String id,
                                             org.apache.oozie.client.SLAEvent.Status stat,
                                             org.apache.oozie.client.SLAEvent.SlaAppType appType)
                                      throws CommandException
Deprecated. 
Create SLA status event

Parameters:
slaXml - SLA xml element
id - SLA Id
stat - SLA status
appType - SLA app type
Throws:
CommandException

getClientId

public static String getClientId()
Deprecated. 
Return client id

Returns:
client id


Copyright © 2013 Apache Software Foundation. All Rights Reserved.