org.apache.oozie.servlet
Class JsonRestServlet.ParameterInfo

java.lang.Object
  extended by org.apache.oozie.servlet.JsonRestServlet.ParameterInfo
Enclosing class:
JsonRestServlet

public static class JsonRestServlet.ParameterInfo
extends Object

This bean defines a query string parameter.


Constructor Summary
JsonRestServlet.ParameterInfo(String name, Class type, boolean required, List<String> methods)
          Creates a ParameterInfo with querystring parameter definition.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JsonRestServlet.ParameterInfo

public JsonRestServlet.ParameterInfo(String name,
                                     Class type,
                                     boolean required,
                                     List<String> methods)
Creates a ParameterInfo with querystring parameter definition.

Parameters:
name - querystring parameter name.
type - type for the parameter value, valid types are: Integer, Boolean and String
required - indicates if the parameter is required.
methods - HTTP methods the parameter is used by.


Copyright © 2013 Apache Software Foundation. All Rights Reserved.