Class SendEmailActionNode.EmailVariableDefinition

  • Enclosing class:
    SendEmailActionNode

    public static class SendEmailActionNode.EmailVariableDefinition
    extends java.lang.Object
    A class to hold how to obtain values for each variable.
    Since:
    12.1.0
    Version:
    $Revision: 24868 $ $Date: 2022-02-25 18:16:46 -0300 (Fri, 25 Feb 2022) $
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.util.Map<java.lang.String,​java.lang.String> TYPES
      All types to how obtain variable value.
    • Constructor Summary

      Constructors 
      Constructor Description
      EmailVariableDefinition​(java.lang.String type, java.lang.String userAttributeId, java.lang.String serviceInstanceId, java.lang.String eventAttributeId, java.lang.String value)
      Constructor to full fields.
      EmailVariableDefinition​(org.json.JSONObject variableJSON)
      Constructor to variable JSON.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected java.lang.String getEventAttributeId()
      Returns the eventAttributeId.
      protected java.lang.String getType()
      Returns the type.
      protected java.lang.String getUserAttributeId()
      Returns the userAttributeId.
      protected java.lang.String getValue()
      Returns the value.
      org.json.JSONObject toJSONObject()
      Returns a JSON with object properties.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • TYPES

        public static final java.util.Map<java.lang.String,​java.lang.String> TYPES
        All types to how obtain variable value.
    • Constructor Detail

      • EmailVariableDefinition

        public EmailVariableDefinition​(org.json.JSONObject variableJSON)
        Constructor to variable JSON.
        Parameters:
        object - the variable JSON.
        Since:
        12.1.0
      • EmailVariableDefinition

        public EmailVariableDefinition​(java.lang.String type,
                                       java.lang.String userAttributeId,
                                       java.lang.String serviceInstanceId,
                                       java.lang.String eventAttributeId,
                                       java.lang.String value)
        Constructor to full fields.
        Parameters:
        type - the type.
        userAttributeId - the userAttributeId.
        serviceInstanceId - the serviceInstanceId.
        eventAttributeId - the eventAttributeId.
        value - the value.
        Since:
        14.0.0
    • Method Detail

      • toJSONObject

        public org.json.JSONObject toJSONObject()
        Returns a JSON with object properties.
        Returns:
        a JSON with object properties.
        Since:
        12.1.0
      • getUserAttributeId

        protected java.lang.String getUserAttributeId()
        Returns the userAttributeId.
        Returns:
        the userAttributeId
        Since:
        12.1.0
      • getEventAttributeId

        protected java.lang.String getEventAttributeId()
        Returns the eventAttributeId.
        Returns:
        the eventAttributeId
        Since:
        12.1.0
      • getValue

        protected java.lang.String getValue()
        Returns the value.
        Returns:
        the value
        Since:
        12.1.0
      • getType

        protected java.lang.String getType()
        Returns the type.
        Returns:
        the type
        Since:
        12.1.0