public class GraphParameterChecker
extends java.lang.Object
Constructor and Description |
---|
GraphParameterChecker()
Initializes map with valid parameters for each of the graphs.
|
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,java.lang.String[]> |
checkParameters(java.lang.String graphType,
java.util.Map requestParameters)
Checks request parameters for the given graph type and returns a map
of recognized parameters, or null if the graph type doesn't exist or
the parameters are invalid.
|
static GraphParameterChecker |
getInstance()
Returns the singleton instance of this class.
|
public GraphParameterChecker()
public static GraphParameterChecker getInstance()
public java.util.Map<java.lang.String,java.lang.String[]> checkParameters(java.lang.String graphType, java.util.Map requestParameters)