Class StringConf<T>


  • public class StringConf<T>
    extends Object
    String value configuration
    Author:
    antons
    • Constructor Detail

      • StringConf

        public StringConf​(T parent)
    • Method Detail

      • and

        public T and()
        Back to limiter instance.
        Returns:
      • include

        public StringConf include​(String value)
        Adds allow value for configuration attribute.
        Parameters:
        value - value to be accepted.
        Returns:
        this configuration instance
      • exclude

        public StringConf exclude​(String value)
        Adds disallow value for configuration attribute.
        Parameters:
        value - value to be rejected.
        Returns:
        this configuration instance
      • allow

        protected boolean allow​(String value)
        Implements allow check for defined includes and excludes.
        Parameters:
        value - value to be checked
        Returns:
        true if value is allowed by defined includes and excludes;