Class BaseParameter

    • Method Detail

      • isConfigParameter

        public static boolean isConfigParameter​(String parameterName)
      • isSystemProperty

        public static boolean isSystemProperty​(String parameterName)
      • isEnvironmentVariable

        public static boolean isEnvironmentVariable​(String parameterName)
      • getName

        @NotNull
        public final String getName()
        Specified by:
        getName in interface Parameter
        Returns:
        parameter name.
      • getValue

        @NotNull
        public String getValue()
        Specified by:
        getValue in interface Parameter
        Returns:
        parameter value.
      • isSystemProperty

        public final boolean isSystemProperty()
        Description copied from interface: Parameter
        Returns true if this parameter is a system property
        Specified by:
        isSystemProperty in interface Parameter
        Returns:
        see above
      • isEnvironmentVariable

        public final boolean isEnvironmentVariable()
        Description copied from interface: Parameter
        Returns true if this parameter is an environment variable
        Specified by:
        isEnvironmentVariable in interface Parameter
        Returns:
        see above
      • getCompareValue

        @NotNull
        protected abstract String getCompareValue()
        Returns:
        internal value used to check parameter equality
        Since:
        7.0
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object