ControlTier > core


Command Reference


Gets the properties for the object.

Retrieves the configuration data for the Managed-Entity object. This data is made accessible to your command execution context.


Managed-Entity includes this base implementation for accessing and storing property data driven by the following two parameters.

  • This property references the file where property data will be stored. By default it is stored as ${entity.instance.dir}/var/
  • This property references a URL that can be used to retrieve the file.

The locations for either property above can be modified via the framework configuration file, ${antdepo.base}/etc/

For efficiency sake, this implementation uses a timestamp check to compare if the ${} is newer than ${}, and if so, will download a new copy.

Data Format

CTL uses Java properties as its own data format but you are not required to follow that convention. Since it is only your commands that load and interpret the data, you are free to choose alternative formats such as XML, YAML, CSV, etc.

If you do choose, another format, be sure to override the Properties command to provide a pretty format for it.


ctl -t Managed-Entity -o <objectname> -c Get-Properties [-destfile <>] [-force] [-noexpand] [-print]


Option Description Type Default
destfile file to save property data

If the property is unset, the data will be saved to the value of ${}.

string ${}
force Remove old properties file first boolean
noexpand Do not expand the property values

Normally, the data is expanded to resolve any embeded property references. This is generally preferable but can be avoided if -noexpand flag is used.

print flag specifying Properties command should run after properties are saved boolean