Class RegexEntity


  • public class RegexEntity
    extends Object
    Regular Expression Entity Extractor.
    • Constructor Detail

      • RegexEntity

        public RegexEntity()
    • Method Detail

      • name

        public String name()
        Get the name value.
        Returns:
        the name value
      • withName

        public RegexEntity withName​(String name)
        Set the name value.
        Parameters:
        name - the name value to set
        Returns:
        the RegexEntity object itself.
      • regexPattern

        public String regexPattern()
        Get the regexPattern value.
        Returns:
        the regexPattern value
      • withRegexPattern

        public RegexEntity withRegexPattern​(String regexPattern)
        Set the regexPattern value.
        Parameters:
        regexPattern - the regexPattern value to set
        Returns:
        the RegexEntity object itself.
      • roles

        public List<String> roles()
        Get the roles value.
        Returns:
        the roles value
      • withRoles

        public RegexEntity withRoles​(List<String> roles)
        Set the roles value.
        Parameters:
        roles - the roles value to set
        Returns:
        the RegexEntity object itself.