public interface LaunchContext
This interface is not intended to be implemented by clients.
Modifier and Type | Method and Description |
---|---|
Argument |
getArgument(String name)
Returns the launch argument matching the specified service parameter name.
|
PropertySet |
getProperties()
Returns properties configuring the service execution.
|
Service |
getService()
Returns the launched service.
|
void |
setArgument(String name,
Argument argument)
Changes the argument associated with the specified service parameter name.
|
Service getService()
PropertySet getProperties()
Argument getArgument(String name)
name
- the name of the service parameter.null
if not found.void setArgument(String name, Argument argument)
LaunchInterceptor
implementation.name
- the name of the service parameter.argument
- the associated launch argument.LaunchInterceptor.launchScheduled(LaunchContext)