org.glassfish.paas.orchestrator.service.metadata
Class ServiceDescription
java.lang.Object
org.glassfish.paas.orchestrator.service.metadata.ServiceDescription
public class ServiceDescription
- extends Object
- Author:
- bhavanishankar@java.net
ServiceDescription
public ServiceDescription()
ServiceDescription
public ServiceDescription(String name,
String appName,
String initType,
Object templateOrCharacteristics,
List<Property> configurations)
ServiceDescription
public ServiceDescription(ServiceDescription other)
getName
public String getName()
setName
public void setName(String name)
getInitType
public String getInitType()
getAppName
public String getAppName()
setAppName
public void setAppName(String appName)
setInitType
public void setInitType(String initType)
getConfigurations
public List<Property> getConfigurations()
setConfigurations
public void setConfigurations(List<Property> configurations)
getTemplateOrCharacteristics
public Object getTemplateOrCharacteristics()
setTemplateOrCharacteristics
public void setTemplateOrCharacteristics(Object templateOrCharacteristics)
cloneTemplateOrCharacteristics
public void cloneTemplateOrCharacteristics(Object templateOrCharacteristics)
getTemplateIdentifier
public TemplateIdentifier getTemplateIdentifier()
getServiceCharacteristics
public ServiceCharacteristics getServiceCharacteristics()
getServiceType
public String getServiceType()
- The service type is either a property in or
should be figured out from the service template.
- Returns:
- Type of the service. Eg., JavaEE, RDBMS, JMS, etc.
setServiceType
public void setServiceType(String serviceType)
getConfiguration
public String getConfiguration(String configKey)
toString
public String toString()
- Overrides:
toString in class Object
getVirtualClusterName
public String getVirtualClusterName()
setVirtualClusterName
public void setVirtualClusterName(String virtualClusterName)
getPlugin
public ServicePlugin getPlugin()
setPlugin
public void setPlugin(ServicePlugin plugin)
getServiceScope
public ServiceScope getServiceScope()
setServiceScope
public void setServiceScope(ServiceScope serviceScope)
equals
public boolean equals(Object o)
- Overrides:
equals in class Object
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
Copyright © 2012. All Rights Reserved.