org.apache.oozie.util
Class ParameterVerifier
java.lang.Object
org.apache.oozie.util.ParameterVerifier
public abstract class ParameterVerifier
- extends Object
Utility class to parse and verify the section in a workflow or coordinator job
Method Summary |
static void |
verifyParameters(org.apache.hadoop.conf.Configuration conf,
org.jdom.Element rootElement)
Verify the parameters section (if supported in the schema) |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ParameterVerifier
public ParameterVerifier()
verifyParameters
public static void verifyParameters(org.apache.hadoop.conf.Configuration conf,
org.jdom.Element rootElement)
throws ParameterVerifierException
- Verify the parameters section (if supported in the schema)
- Parameters:
conf
- The job configurationrootElement
- The root element of the workflow, coordinator, or bundle definition
- Throws:
ParameterVerifierException
- If required parameters are not defined and have no default values, or if a name is empty
Copyright © 2013 Apache Software Foundation. All Rights Reserved.