Retrieves list of attribute names of specified type or configuration object.

attributes ( <typeName> | <configObject> )

Arguments

typeName

name of configuration object type

configObject

instance of ConfigObject

Result

List of configuration attribute names of type/object as array of strings.

Examples

  • Retrieving attributes of a type
print attributes('Cell')
['adminAgentRegistration', 'cellDiscoveryProtocol', 'cellRegistered', 'cellType', 'discoveryAddressEndpointName', 'foreignCells', 'multicastDiscoveryAddressEndpointName', 'name', 'properties', 'shortName']
  • Retrieving attributes of an object
server = getid('/Server:/')[0]
print attributes(server)
['adjustPort', 'changeGroupAfterStartup', 'changeUserAfterStartup', 'clusterName', 'components', 'customServices', 'developmentMode', 'errorStreamRedirect', 'modelId', 'name', 'outputStreamRedirect', 'parallelStartEnabled', 'processDefinition', 'processDefinitions', 'provisionComponents', 'serverInstance', 'serverType', 'services', 'shortName', 'stateManagement', 'statisticsProvider', 'uniqueId']