org.glassfish.paas.orchestrator.service.metadata
Class ServiceDescription

java.lang.Object
  extended by org.glassfish.paas.orchestrator.service.metadata.ServiceDescription

public class ServiceDescription
extends Object

Author:
bhavanishankar@java.net

Constructor Summary
ServiceDescription()
           
ServiceDescription(ServiceDescription other)
           
ServiceDescription(String name, String appName, String initType, Object templateOrCharacteristics, List<Property> configurations)
           
 
Method Summary
 void cloneTemplateOrCharacteristics(Object templateOrCharacteristics)
           
 boolean equals(Object o)
           
 String getAppName()
           
 String getConfiguration(String configKey)
           
 List<Property> getConfigurations()
           
 String getInitType()
           
 String getName()
           
 ServicePlugin getPlugin()
           
 ServiceCharacteristics getServiceCharacteristics()
           
 ServiceScope getServiceScope()
           
 String getServiceType()
          The service type is either a property in or should be figured out from the service template.
 TemplateIdentifier getTemplateIdentifier()
           
 Object getTemplateOrCharacteristics()
           
 String getVirtualClusterName()
           
 int hashCode()
           
 void setAppName(String appName)
           
 void setConfigurations(List<Property> configurations)
           
 void setInitType(String initType)
           
 void setName(String name)
           
 void setPlugin(ServicePlugin plugin)
           
 void setServiceScope(ServiceScope serviceScope)
           
 void setServiceType(String serviceType)
           
 void setTemplateOrCharacteristics(Object templateOrCharacteristics)
           
 void setVirtualClusterName(String virtualClusterName)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ServiceDescription

public ServiceDescription()

ServiceDescription

public ServiceDescription(String name,
                          String appName,
                          String initType,
                          Object templateOrCharacteristics,
                          List<Property> configurations)

ServiceDescription

public ServiceDescription(ServiceDescription other)
Method Detail

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.