public interface Argument
Clients may implement this interface.
Modifier and Type | Method and Description |
---|---|
String |
getValueDescriptor()
Returns a String description of the argument, for end-user display.
|
Object |
resolveValue(LaunchContext context)
Resolves the argument to the actual value sent to the launched ruleset.
|
String getValueDescriptor()
Object resolveValue(LaunchContext context) throws CoreException
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.
context
- the launch contextCoreException
- if resolving the value fails.