Interface ICheckParameters


  • public interface ICheckParameters
    Check parameters set, containing current effective values of the check (if the check is parametrized). Parameter values can be overrided in user preferences.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean getBoolean​(String name)
      Returns the boolean value to which the specified key is mapped.
      double getDouble​(String name)
      Returns the double value to which the specified key is mapped.
      int getInt​(String name)
      Returns the int value to which the specified key is mapped.
      long getLong​(String name)
      Returns the long value to which the specified key is mapped.
      String getString​(String name)
      Returns the string value to which the specified key is mapped.
      Set<String> keySet()
      Returns a Set view of the contained parameters names.
    • Method Detail

      • getBoolean

        boolean getBoolean​(String name)
                    throws WrongParameterException
        Returns the boolean value to which the specified key is mapped.
        Parameters:
        name - the parameter name, not null
        Returns:
        parameter value, not null
        Throws:
        WrongParameterException - if none or broken
      • getDouble

        double getDouble​(String name)
                  throws WrongParameterException
        Returns the double value to which the specified key is mapped.
        Parameters:
        name - the parameter name, not null
        Returns:
        parameter value, not null
        Throws:
        WrongParameterException - if none or broken
      • getInt

        int getInt​(String name)
            throws WrongParameterException
        Returns the int value to which the specified key is mapped.
        Parameters:
        name - the parameter name, not null
        Returns:
        parameter value, not null
        Throws:
        WrongParameterException - if none or broken
      • getLong

        long getLong​(String name)
              throws WrongParameterException
        Returns the long value to which the specified key is mapped.
        Parameters:
        name - the parameter name, not null
        Returns:
        parameter value, not null
        Throws:
        WrongParameterException - if none or broken
      • keySet

        Set<String> keySet()
        Returns a Set view of the contained parameters names.
        Returns:
        parameters names, not null