Class ZestAssignRegexDelimiters


  • public class ZestAssignRegexDelimiters
    extends ZestAssignment
    The Class ZestAssignRegexDelimiters allows you to assign a string to the specified variable from the last response received. The string is delimited by the regexs specified.
    • Constructor Detail

      • ZestAssignRegexDelimiters

        public ZestAssignRegexDelimiters()
        Instantiates a new zest action set token.
      • ZestAssignRegexDelimiters

        public ZestAssignRegexDelimiters​(String variableName,
                                         String location,
                                         String prefix,
                                         String postfix)
        Instantiates a new zest action set token.
        Parameters:
        variableName - the token name
        location - the location
        prefix - the prefix
        postfix - the postfix
      • ZestAssignRegexDelimiters

        public ZestAssignRegexDelimiters​(int index)
        Instantiates a new zest action set token.
        Parameters:
        index - the index
    • Method Detail

      • getPrefix

        public String getPrefix()
        Gets the prefix.
        Returns:
        the prefix
      • setPrefix

        public void setPrefix​(String prefix)
        Sets the prefix.
        Parameters:
        prefix - the new prefix
      • getPostfix

        public String getPostfix()
        Gets the postfix.
        Returns:
        the postfix
      • setPostfix

        public void setPostfix​(String postfix)
        Sets the postfix.
        Parameters:
        postfix - the new postfix
      • getLocation

        public String getLocation()
        Gets the location.
        Returns:
        the location
      • setLocation

        public void setLocation​(String location)
        Sets the location.
        Parameters:
        location - the new location