Class TableParameterChecker


  • public class TableParameterChecker
    extends java.lang.Object
    Checks request parameters passed to generate tables.
    • Constructor Summary

      Constructors 
      Constructor Description
      TableParameterChecker()
      Initializes map with valid parameters for each of the graphs.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Map<java.lang.String,​java.lang.String[]> checkParameters​(java.lang.String tableType, java.util.Map<java.lang.String,​java.lang.String[]> requestParameters)
      Checks request parameters for the given table type and returns a map of recognized parameters, or null if the table type doesn't exist or the parameters are invalid.
      static TableParameterChecker getInstance()
      Returns the singleton instance of this class.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TableParameterChecker

        public TableParameterChecker()
        Initializes map with valid parameters for each of the graphs.
    • Method Detail

      • getInstance

        public static TableParameterChecker getInstance()
        Returns the singleton instance of this class.
      • checkParameters

        public java.util.Map<java.lang.String,​java.lang.String[]> checkParameters​(java.lang.String tableType,
                                                                                        java.util.Map<java.lang.String,​java.lang.String[]> requestParameters)
        Checks request parameters for the given table type and returns a map of recognized parameters, or null if the table type doesn't exist or the parameters are invalid.