Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

ElementRequiredDescription
nameYesThe unique name of the view. See <name> for more information.
labelYesThe display label of the view. See <label> for more information.
versionYesThe version of the view. See <version> for more information.
descriptionNoThe description of the view. See <description> for more information.
iconNoThe 32x32 icon to display for this view. Suggested size is 32x32 and will be displayed as 8x8 and 16x16 as necessary. If this property is not set, a default view framework icon is used.
icon64NoThe 64x64 icon to display for this view. If this property is not set, the 32x32 sized icon will be used.
permissionNoDefines a custom permission for this view. See <permission> for more information.
parameterNoDefines a configuration parameter that is used to when creating a view instance. See <parameter> for more information.
resourceNoDefines a resource that is exposed by the view. See <resource> for more information.
instanceNoDefines a static instance of the view. See <instance> for more information.
view-classNoRegisters a view class to receive framework events. See <view-class> for more information.

...

Code Block
<description>This view is used to display information.</description>

Anchor
view.parameter
view.parameter
Anchor
view.parameterview.parameter
<parameter>

ElementRequiredDescription
nameYesThe name of the configuration parameter.
descriptionYesThe description of the configuration parameter.
requiredYesIf true, the configuration parameter is required in order to create a view instance.
maskedNoIndicated this parameter value is to be "masked" in the Ambari Web UI (i.e. not shown in the clear). Omitting this element default to not-masked. Otherwise, if true, the parameter value will be "masked" in the Web UI.
Code Block
<parameter>
    <name>someParameter</name>
    <description>Some parameter this is used to configure an instance of this view</description>
    <required>false</required>
</parameter>

Anchor
view.permission
view.permission
<permission>

ElementRequiredDescription
nameYesThe unique name of the permission.
descriptionYesThe description of the permission.

Anchor
view.resource
view.resource
<resource>

...