Class ServiceDefinition
- java.lang.Object
-
- com.aquima.interactions.project.impl.ServiceDefinition
-
- All Implemented Interfaces:
IServiceDefinition
,Serializable
public class ServiceDefinition extends Object implements IServiceDefinition
This class contains the definition of a single service.- Since:
- 7.1
- Author:
- O. Kerpershoek
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
ServiceDefinition(IServiceDS datasource)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDescription()
This method returns a description of the service.String[]
getExitEvents()
This method returns an array containing the event type names that are supported by this service.String
getName()
This method returns the unique name of the service.IParameterDefinition
getParameter(String name)
This method returns the parameter definition for the specified name.String[]
getParameterNames()
This method returns an array containing all the parameter names.IParameterDefinition[]
getParameters()
This method returns an array containing the definitions of the parameters that are supported by this component.
-
-
-
Constructor Detail
-
ServiceDefinition
protected ServiceDefinition(IServiceDS datasource)
-
-
Method Detail
-
getName
public String getName()
Description copied from interface:IServiceDefinition
This method returns the unique name of the service. In service calls, this name will be referred to as the service type name.- Specified by:
getName
in interfaceIServiceDefinition
- Returns:
- The unique name of the service.
-
getDescription
public String getDescription()
Description copied from interface:IServiceDefinition
This method returns a description of the service.- Specified by:
getDescription
in interfaceIServiceDefinition
- Returns:
- A description of the service (may be null).
-
getParameter
public IParameterDefinition getParameter(String name)
Description copied from interface:IServiceDefinition
This method returns the parameter definition for the specified name.- Specified by:
getParameter
in interfaceIServiceDefinition
- Parameters:
name
- The name of the requested parameter.- Returns:
- The definition of the parameter for the specified name.
-
getParameterNames
public String[] getParameterNames()
Description copied from interface:IServiceDefinition
This method returns an array containing all the parameter names.- Specified by:
getParameterNames
in interfaceIServiceDefinition
- Returns:
- Array containing all the parameter names.
-
getParameters
public IParameterDefinition[] getParameters()
Description copied from interface:IServiceDefinition
This method returns an array containing the definitions of the parameters that are supported by this component.- Specified by:
getParameters
in interfaceIServiceDefinition
- Returns:
- Array containing the definitions of the parameters that are supported by this component.
-
getExitEvents
public String[] getExitEvents()
Description copied from interface:IServiceDefinition
This method returns an array containing the event type names that are supported by this service.- Specified by:
getExitEvents
in interfaceIServiceDefinition
- Returns:
- Array containing all the exit event names, never null, but can be an empty array.
-
-