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 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 Type
    Method
    Description
    Returns the description of this service.
    Returns the unique identifier of this service.
    Returns the implementation type of the service.
    Returns the list of parameters expected by this service to execute the underlying ruleset.
    Deprecated.
    Services can be implemented with an Operation since 2.3.0, in which case this method returns null.
    Deprecated.
    Services can be implemented with an Operation since 2.3.0, in which case this method returns null.

    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(forRemoval=false) String getRuleSetName()
      Deprecated.
      Services can be implemented with an Operation since 2.3.0, in which case this method returns null.
      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:
    • getRuleName

      @Deprecated(forRemoval=false) String getRuleName()
      Deprecated.
      Services can be implemented with an Operation since 2.3.0, in which case this method returns null.
      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:
    • getParameters

      List<Parameter> getParameters()
      Returns the list of parameters expected by this service to execute the underlying ruleset.
      Returns:
      the list of parameters expected by this service.