org.jboss.managed.api
Interface DeploymentTemplateInfo

All Known Implementing Classes:
BasicDeploymentTemplateInfo

public interface DeploymentTemplateInfo

The exportable information for a DeploymentTemplate.

Version:
$Revision: 85266 $
Author:
Scott.Stark@jboss.org

Method Summary
 DeploymentTemplateInfo copy()
          Create a deep copy of the template info.
 String getDescription()
          Information about the deployment template
 String getName()
          The name of the DeploymentTemplate this info corresponds to
 Map<String,ManagedProperty> getProperties()
          Get the template properties.
 String getRootManagedPropertyName()
          The name of the ManagedProperty in the Map map obtained from the mainDeployer.getManagedObjects(VFSDeployment) for the DeploymentTemplate this info is associated with.
 

Method Detail

getName

String getName()
The name of the DeploymentTemplate this info corresponds to

Returns:
name of the deployment template

getDescription

String getDescription()
Information about the deployment template

Returns:
Information about the deployment template

getRootManagedPropertyName

String getRootManagedPropertyName()
The name of the ManagedProperty in the Map map obtained from the mainDeployer.getManagedObjects(VFSDeployment) for the DeploymentTemplate this info is associated with.


getProperties

Map<String,ManagedProperty> getProperties()
Get the template properties.

Returns:
A name to property mapping of the properties that can be set for use by the deployment template.

copy

DeploymentTemplateInfo copy()
Create a deep copy of the template info. This ensures any ManagedProperty objects returned in the copy do not share the same value references such that modification of the property value in the copy affects the original.

Returns:
a deep copy of the template info.


Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.