Class SourceValue

    • Field Detail

      • value

        @Nullable
        private String value
        Value string. This may contain regular expressions.
      • caseSensitive

        private boolean caseSensitive
        Whether case should be taken into account when matching.
      • pattern

        @Nullable
        private Pattern pattern
        In the regexp case this contains the compiled pattern.
      • partialMatch

        private boolean partialMatch
        Whether partial matches should be allowed.
    • Constructor Detail

      • SourceValue

        public SourceValue()
    • Method Detail

      • setCaseSensitive

        public void setCaseSensitive​(boolean theCaseSensitive)
        Set whether case is sensitive.
        Parameters:
        theCaseSensitive - whether case should be ignored when matching. Null taken as default;
      • isCaseSensitive

        public boolean isCaseSensitive()
        Gets whether matching should be case sensitive.
        Returns:
        whether case should be ignored when matching
      • setIgnoreCase

        @Deprecated
        public void setIgnoreCase​(boolean theIgnoreCase)
        Deprecated.
        in V4 - use setCaseSensitive
        Set whether to ignore the case.
        Parameters:
        theIgnoreCase - whether case should be ignored when matching. Null defaults to false;
      • isIgnoreCase

        @Deprecated
        public boolean isIgnoreCase()
        Deprecated.
        in V4 - use isCaseSensitive
        Gets whether case should be ignored when matching.
        Returns:
        whether case should be ignored when matching
      • setPartialMatch

        public void setPartialMatch​(boolean thePartialMatch)
        Set whether partial matches should be allowed.
        Parameters:
        thePartialMatch - whether partial matches should be allowed. Null defaults to false;
      • isPartialMatch

        public boolean isPartialMatch()
        Gets whether partial matches should be allowed.
        Returns:
        whether partial matches should be allowed
      • setValue

        public void setValue​(@Nullable
                             String theValue)
        Set the value string.
        Parameters:
        theValue - value string This may contain regular expressions.
      • getValue

        @Nullable
        public String getValue()
        Gets the value string.
        Returns:
        the value string.
      • getPattern

        @Nonnull
        public Pattern getPattern()
        get the compiled pattern. This is compiled in init and hence there is a guard.
        Returns:
        Returns the pattern.