org.apache.oozie.util
Class ParameterVerifier

java.lang.Object
  extended by 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


Constructor Summary
ParameterVerifier()
           
 
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
 

Constructor Detail

ParameterVerifier

public ParameterVerifier()
Method Detail

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 configuration
rootElement - 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.