Package com.sodius.mdw.server.services
Interface Service
-
- All Superinterfaces:
NamedElement
public interface Service extends NamedElement
Describes a service that can be executed within the context of MDWorkbench Server. A service is contributed using thecom.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:
ServicesManager.getServices()
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description String
getDescription()
Returns the description of this service.String
getId()
Returns the unique identifier of this service.ServiceKind
getKind()
Returns the implementation type of the service.List<Parameter>
getParameters()
Returns the list of parameters expected by this service to execute the underlying ruleset.String
getRuleName()
Deprecated.Services can be implemented with an Operation since 2.3.0, in which case this method returnsnull
.String
getRuleSetName()
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 Detail
-
getId
String getId()
Returns the unique identifier of this service.- Returns:
- the unique identifier of this service.
- See Also:
ServicesManager.getService(String)
-
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 String 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,
null
if the service is implemented with an Operation. - See Also:
getKind()
-
getRuleName
@Deprecated String 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,
null
if the service is implemented with an Operation. - See Also:
getKind()
-
-