Class ZestAssignStringDelimiters


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

      • LOC_HEAD

        public static final transient String LOC_HEAD
        The location constant which represents the Head of a response.
        See Also:
        Constant Field Values
      • LOC_BODY

        public static final transient String LOC_BODY
        The location constant which represents the Body of a response.
        See Also:
        Constant Field Values
    • Constructor Detail

      • ZestAssignStringDelimiters

        public ZestAssignStringDelimiters()
        Instantiates a new zest action set variable.
      • ZestAssignStringDelimiters

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

        public ZestAssignStringDelimiters​(int index)
        Instantiates a new zest action set variable.
        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