Skip to end of banner
Go to start of banner

Class Supplier

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 11 Next »

Overview

Provides information about object classes.

This supplier is disabled by default, and should generally not be turned on in a production environment. To control access, enable or disable the "Class 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.

See the Object Supplier's 'class' field to access class instances for use with this supplier.

Details

Name:

Class Supplier

Prefix:

class(required)

Supported Content:

Class objects

Provided By:

Reporting for Confluence

Supported Keys

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

Key

Content Types

Return Type

Description

name

Class

Text

The class name.

is primative

Class

Boolean

Is true if the class is a 'primative', such as int, boolean or float.

is interface

Class

Boolean

Is true if the class is an interface.

is enum

Class

Boolean

Is true if the class is an enum.

is array

Class

Boolean

Is true if the class represents an array of objects. Does not recognize 'Collection' objects.

component type

Class

Class

If this is an array, this is the class that makes up the contents of the array. For example a "int[]" would return the "int.class" type.

is anonymous class

Class

Boolean

Is true if the class is 'anonymous'. That is, it is an unnamed class assigned or returned from within a method.

is local class

Class

Boolean

Is true if the class is 'local'. That is, it is a named class defined within a method.

is member class

Class

Boolean

Is true if the class is defined inside another class.

superclass

Class

Class

The parent class of this one.

interfaces

Class

List of Classes

The list of interface classes directly implemented by this class. Does not include interfaces implemented by any superclasses.

package

Class

Text

The package name for this class.

Examples


  • No labels