Object Supplier

Overview

Provides general information about any object.

This supplier is disabled by default, and should generally not be turned on in a production environment. To control access, enable or disable the "Object Supplier" by going to  > Manage apps > Expand ServiceRocket Utility Library plugin > Expand "x of x modules enabled". Here you will find the suppliers that are not enabled by default.

Details

Name:

Object Supplier

Prefix:

object

(required)

Supported Content:

Anything

Provided By:

Reporting, from version 3.1.0

Supported Keys

The following are the list of keys which this supplier will return a value for.

Key

Content Types

Return Type

Description

class

Anything

Returns the 'class' for the current object.

classname

Anything

The full classname for the current object.

as string

Anything

The 'toString()' value of the current object.

hash code

Anything

The hash code of the current object.

is facade

Anything

When accessing objects from other plugins, they may be wrapped in a 'facade', or a proxy object. You can get access to the original via the 'unwrapped' key below.

is local

Anything

If the object isn't a facade, it's local.

unwrapped

Anything

Anything

If this object is a facade, the 'wrapped' object is returned. If not, the current object is returned.

Examples