org.apache.oozie.util.db
Class SLADbXOperations
java.lang.Object
org.apache.oozie.util.db.SLADbXOperations
public class SLADbXOperations
- extends Object
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()
createSlaRegistrationEvent
public static SLAEventBean createSlaRegistrationEvent(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
createSlaStatusEvent
public static SLAEventBean createSlaStatusEvent(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
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
- 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 © 2013 Apache Software Foundation. All Rights Reserved.