org.jboss.managed.plugins
Class BasicDeploymentTemplateInfo

java.lang.Object
  extended by org.jboss.managed.plugins.BasicDeploymentTemplateInfo
All Implemented Interfaces:
Serializable, DeploymentTemplateInfo

public class BasicDeploymentTemplateInfo
extends Object
implements DeploymentTemplateInfo, Serializable

A simple bean type of implementation of DeploymentTemplateInfo

Version:
$Revision: 70420 $
Author:
Scott.Stark@jboss.org
See Also:
Serialized Form

Constructor Summary
BasicDeploymentTemplateInfo(String name, String description)
           
BasicDeploymentTemplateInfo(String name, String description, Map<String,ManagedProperty> properties)
           
 
Method Summary
 void addProperty(ManagedProperty property)
           
 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()
           
 void setProperties(Map<String,ManagedProperty> properties)
           
 void setRootManagedPropertyName(String rootManagedPropertyName)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BasicDeploymentTemplateInfo

public BasicDeploymentTemplateInfo(String name,
                                   String description)

BasicDeploymentTemplateInfo

public BasicDeploymentTemplateInfo(String name,
                                   String description,
                                   Map<String,ManagedProperty> properties)
Method Detail

getDescription

public String getDescription()
Description copied from interface: DeploymentTemplateInfo
Information about the deployment template

Specified by:
getDescription in interface DeploymentTemplateInfo
Returns:
Information about the deployment template

getName

public String getName()
Description copied from interface: DeploymentTemplateInfo
The name of the DeploymentTemplate this info corresponds to

Specified by:
getName in interface DeploymentTemplateInfo
Returns:
name of the deployment template

getRootManagedPropertyName

public String getRootManagedPropertyName()

setRootManagedPropertyName

public void setRootManagedPropertyName(String rootManagedPropertyName)

getProperties

public Map<String,ManagedProperty> getProperties()
Description copied from interface: DeploymentTemplateInfo
Get the template properties.

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

setProperties

public void setProperties(Map<String,ManagedProperty> properties)

addProperty

public void addProperty(ManagedProperty property)

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2008 JBoss Inc.. All Rights Reserved.