Interface Argument

    • Method Detail

      • getValueDescriptor

        String getValueDescriptor()
        Returns a String description of the argument, for end-user display.
        Returns:
        a String description of the argument, for end-user display.
      • resolveValue

        Object resolveValue​(LaunchContext context)
                     throws CoreException
        Resolves the argument to the actual value sent to the launched ruleset.

        When an Argument instance is created, it might contain only the minimal information that allows resolving to the actual object to be used as execution parameter. For example if the declared Service parameter is of type com.sodius.mdw.clm.server.storage.Storage and the argument is the URL of a storage (as a String), resolving the value returns a java.io.File instance, referring to the actual Storage content.

        Parameters:
        context - the launch context
        Returns:
        the resolved argument value, to be used as a ruleset parameter.
        Throws:
        CoreException - if resolving the value fails.