org.pentaho.platform.plugin.services.pluginmgr.servicemgr
Class ServiceConfig

java.lang.Object
  extended by org.pentaho.platform.plugin.services.pluginmgr.servicemgr.ServiceConfig
All Implemented Interfaces:
IServiceConfig

public class ServiceConfig
extends Object
implements IServiceConfig


Constructor Summary
ServiceConfig()
           
 
Method Summary
 String getDescription()
          Returns the localized title for this web service.
 Collection<Class<?>> getExtraClasses()
           
 String getId()
          Returns the unique id of this web service.
 Class<?> getServiceClass()
          Returns the web service bean class
 String getServiceType()
           
 String getTitle()
          Returns the localized title for this web service.
 boolean isEnabled()
          Returns the enabled state of this service
 void setDescription(String description)
           
 void setEnabled(boolean enabled)
          Sets the enabled state of this service
 void setExtraClasses(Collection<Class<?>> extraClasses)
           
 void setId(String id)
           
 void setServiceClass(Class<?> serviceClass)
           
 void setServiceType(String serviceType)
           
 void setTitle(String title)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceConfig

public ServiceConfig()
Method Detail

getId

public String getId()
Description copied from interface: IServiceConfig
Returns the unique id of this web service. This should not be localized

Specified by:
getId in interface IServiceConfig
Returns:
a unique id for this web service

setId

public void setId(String id)

isEnabled

public boolean isEnabled()
Description copied from interface: IServiceConfig
Returns the enabled state of this service

Specified by:
isEnabled in interface IServiceConfig
Returns:
Current enable/disable state

setEnabled

public void setEnabled(boolean enabled)
Sets the enabled state of this service

Parameters:
enabled -

getExtraClasses

public Collection<Class<?>> getExtraClasses()
Specified by:
getExtraClasses in interface IServiceConfig

getServiceClass

public Class<?> getServiceClass()
Description copied from interface: IServiceConfig
Returns the web service bean class

Specified by:
getServiceClass in interface IServiceConfig
Returns:
bean class or id by which the class can be looked up

setServiceClass

public void setServiceClass(Class<?> serviceClass)

setExtraClasses

public void setExtraClasses(Collection<Class<?>> extraClasses)

getTitle

public String getTitle()
Description copied from interface: IServiceConfig
Returns the localized title for this web service. This is shown on the services list page. Defaults to service id if not set.

Specified by:
getTitle in interface IServiceConfig
Returns:
natural language name for the service

setTitle

public void setTitle(String title)

getDescription

public String getDescription()
Description copied from interface: IServiceConfig
Returns the localized title for this web service. This is shown on the services list page.

Specified by:
getDescription in interface IServiceConfig
Returns:
Description

setDescription

public void setDescription(String description)

getServiceType

public String getServiceType()
Specified by:
getServiceType in interface IServiceConfig

setServiceType

public void setServiceType(String serviceType)