Class ServiceCallDefinition
java.lang.Object
com.aquima.interactions.portal.model.def.ServiceCallDefinition
- All Implemented Interfaces:
IServiceCallDefinition
This class holds the static definition of a service call.
- Since:
- 6.4
- Author:
- Jon van Leuven
-
Constructor Summary
ConstructorsConstructorDescriptionServiceCallDefinition
(IProject project, IParserFactory parserFactory, IServiceCallDS datasource) Constructs a service call definition from a data-source. -
Method Summary
Modifier and TypeMethodDescriptionThis method returns the service call name.getExitEvent
(IServiceResult result) This method returns the possible exit events for this service call definition.This method returns the service parameters.This method returns the service type name.
-
Constructor Details
-
ServiceCallDefinition
public ServiceCallDefinition(IProject project, IParserFactory parserFactory, IServiceCallDS datasource) Constructs a service call definition from a data-source.- Parameters:
project
- Project containing the service type definitions.parserFactory
- Parser factory providing an expression parser for service parameter parsing.datasource
- The service call data-source.- Throws:
InitializationException
- This exception is thrown when service call could not be created.
-
-
Method Details
-
getCallName
Description copied from interface:IServiceCallDefinition
This method returns the service call name.- Specified by:
getCallName
in interfaceIServiceCallDefinition
- Returns:
- The service call name, never null.
-
getTypeName
Description copied from interface:IServiceCallDefinition
This method returns the service type name.- Specified by:
getTypeName
in interfaceIServiceCallDefinition
- Returns:
- The service type name, never null.
-
getParameters
Description copied from interface:IServiceCallDefinition
This method returns the service parameters.- Specified by:
getParameters
in interfaceIServiceCallDefinition
- Returns:
- The service parameters, never null.
-
getExitEvents
Description copied from interface:IServiceCallDefinition
This method returns the possible exit events for this service call definition.- Specified by:
getExitEvents
in interfaceIServiceCallDefinition
- Returns:
- The possible exit events, never null.
-
getExitEvent
- Specified by:
getExitEvent
in interfaceIServiceCallDefinition
-