Class CurrentUserObjectValue

  • All Implemented Interfaces:
    ReportFilterObjectValue

    public class CurrentUserObjectValue
    extends java.lang.Object
    implements ReportFilterObjectValue
    Represents a CURRENT_USER filter value for report filters.

    This is used to match against the current authenticated user in report filter criteria. The objectType is represented by ObjectValueType.CURRENT_USER, which is specific to report filters.

    • Constructor Detail

      • CurrentUserObjectValue

        public CurrentUserObjectValue()
        Default constructor. Sets value to empty string which is typical for CURRENT_USER filters.
      • CurrentUserObjectValue

        public CurrentUserObjectValue​(java.lang.String value)
        Constructor with custom value.
        Parameters:
        value - the value (typically empty for CURRENT_USER)
    • Method Detail

      • getObjectTypeString

        public java.lang.String getObjectTypeString()
        Gets the object type string. This returns "CURRENT_USER" for JSON serialization.
        Returns:
        "CURRENT_USER"
      • getValue

        public java.lang.String getValue()
        Gets the value.

        Annotated JsonIgnore because the CURRENT_USER filter wire format defines only objectType; the value is an SDK-side convenience and is not sent to the API.

        Returns:
        the value (typically empty string)
      • setValue

        public CurrentUserObjectValue setValue​(java.lang.String value)
        Sets the value.
        Parameters:
        value - the value
        Returns:
        this CurrentUserObjectValue for method chaining