java.lang.Object
com.codebarrel.automation.api.component.smartvalues.objectwrappers.CustomSmartValueWrapper
All Implemented Interfaces:
InputRenderable

public class CustomSmartValueWrapper extends Object implements InputRenderable
  • Constructor Details

  • Method Details

    • toRenderedString

      public String toRenderedString()
      Specified by:
      toRenderedString in interface InputRenderable
    • getKey

      public String getKey()
    • getTemplatedKey

      public String getTemplatedKey()
      Templated key is the variable name formatted using a template. This templated key is what is injected into our smart value templates inputs for looking up this custom smart value. Used to prevent collisions between the custom variable name and reserved variable names used by our smart value template renders.
      Returns:
      The custom smart value variable name formatted with the template
    • getTemplatedKeyOf

      public static String getTemplatedKeyOf(String value)
    • getType

    • getQuery

      public String getQuery()
    • getLazy

      public boolean getLazy()
    • setCallback

      public void setCallback(Supplier<Object> callback)
    • executeQuery

      public void executeQuery()
    • getValue

      public Object getValue()
    • setValue

      public void setValue(Object value)
    • toString

      public String toString()
      Overrides:
      toString in class Object