Package com.sodius.mdw.server.services
Interface Service
- All Superinterfaces:
NamedElement
Describes a service that can be executed within the context of MDWorkbench Server.
A service is contributed using the
com.sodius.mdw.server.service extension point.
A service execution involves evaluating either an underlying ruleset or an Operation.
This interface is not intended to be implemented by clients.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionReturns the description of this service.getId()Returns the unique identifier of this service.getKind()Returns the implementation type of the service.Returns the list of parameters expected by this service to execute the underlying ruleset.Deprecated.Deprecated.Services can be implemented with an Operation since 2.3.0, in which case this method returnsnull.Methods inherited from interface com.sodius.mdw.server.services.NamedElement
getName, getPropertyNames, getPropertyValue
-
Method Details
-
getId
String getId()Returns the unique identifier of this service.- Returns:
- the unique identifier of this service.
- See Also:
-
getDescription
String getDescription()Returns the description of this service.- Returns:
- the description of this service.
-
getKind
ServiceKind getKind()Returns the implementation type of the service.- Returns:
- the implementation type of the service.
- Since:
- 2.3.0
-
getRuleSetName
Deprecated.Services can be implemented with an Operation since 2.3.0, in which case this method returnsnull.Returns the ruleset qualified name evaluated when the service is to execute. The underlying ruleset must be defined in the plug-in that contributes this service.- Returns:
- the ruleset qualified name,
nullif the service is implemented with an Operation. - See Also:
-
getRuleName
Deprecated.Services can be implemented with an Operation since 2.3.0, in which case this method returnsnull.Returns the name of the rule evaluated when the service is to execute. The rule must be defined in the ruleset referenced in this service.- Returns:
- the name of the rule,
nullif the service is implemented with an Operation. - See Also:
-
getParameters
Returns the list of parameters expected by this service to execute the underlying ruleset.- Returns:
- the list of parameters expected by this service.
-
null.