This project has retired. For details please refer to its
Attic page.
SLADbXOperations (Apache Oozie Core 3.2.0-incubating API)
org.apache.oozie.util.db
Class SLADbXOperations
java.lang.Object
org.apache.oozie.util.db.SLADbXOperations
public class SLADbXOperations
- extends Object
Method Summary |
static String |
getClientId()
Return client id |
static void |
writeSlaRegistrationEvent(org.jdom.Element eSla,
String slaId,
org.apache.oozie.client.SLAEvent.SlaAppType appType,
String user,
String groupName)
Create SLA registration event |
static void |
writeSlaStatusEvent(String id,
org.apache.oozie.client.SLAEvent.Status status,
org.apache.oozie.client.SLAEvent.SlaAppType appType)
Create SLA status event |
static void |
writeStausEvent(String slaXml,
String id,
org.apache.oozie.client.SLAEvent.Status stat,
org.apache.oozie.client.SLAEvent.SlaAppType appType)
Create SLA status event |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CLIENT_ID_TAG
public static final String CLIENT_ID_TAG
- See Also:
- Constant Field Values
SLADbXOperations
public SLADbXOperations()
writeSlaRegistrationEvent
public static void writeSlaRegistrationEvent(org.jdom.Element eSla,
String slaId,
org.apache.oozie.client.SLAEvent.SlaAppType appType,
String user,
String groupName)
throws Exception
- Create SLA registration event
- Parameters:
eSla
- SLA xml elementslaId
- SLA IdappType
- SLA app typeuser
- user namegroupName
- group name
- Throws:
Exception
writeSlaStatusEvent
public static void writeSlaStatusEvent(String id,
org.apache.oozie.client.SLAEvent.Status status,
org.apache.oozie.client.SLAEvent.SlaAppType appType)
throws Exception
- Create SLA status event
- Parameters:
id
- SLA Idstatus
- SLA statusappType
- SLA app type
- Throws:
Exception
writeStausEvent
public static void writeStausEvent(String slaXml,
String id,
org.apache.oozie.client.SLAEvent.Status stat,
org.apache.oozie.client.SLAEvent.SlaAppType appType)
throws CommandException
- Create SLA status event
- Parameters:
slaXml
- SLA xml elementid
- SLA Idstat
- SLA statusappType
- SLA app type
- Throws:
CommandException
getClientId
public static String getClientId()
- Return client id
- Returns:
- client id
Copyright © 2012 Apache Software Foundation. All Rights Reserved.