Class Variable<TExpression>

  • Type Parameters:
    TExpression - the type of the value for the new variable

    @Deprecated(since="2021-05-27")
    public class Variable<TExpression>
    extends java.lang.Object
    Deprecated.
    Usage of this API is not supported in AEM as a Cloud Service.
    Helps define new variable for the $lookup pipeline stage
    Since:
    3.7
    • Constructor Summary

      Constructors 
      Constructor Description
      Variable​(java.lang.String name, TExpression value)
      Deprecated.
      Creates a new variable definition for use in $lookup pipeline stages
    • Constructor Detail

      • Variable

        public Variable​(java.lang.String name,
                        TExpression value)
        Deprecated.
        Creates a new variable definition for use in $lookup pipeline stages
        Parameters:
        name - the name of the new variable
        value - the value of the new variable
    • Method Detail

      • getName

        public java.lang.String getName()
        Deprecated.
        Returns:
        the name of the new variable
      • getValue

        public TExpression getValue()
        Deprecated.
        Returns:
        the value of the new variable
      • equals

        public boolean equals​(java.lang.Object o)
        Deprecated.
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Deprecated.
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Deprecated.
        Overrides:
        toString in class java.lang.Object