com.sodius.mdw.core.eval.launch
Interface LaunchEntryPoint

All Known Subinterfaces:
RuleEntryPoint, TextTemplateEntryPoint

public interface LaunchEntryPoint

References the entry-point element (text template or main rule) to be evaluated.

The referenced project unit (text template or rule set) may define parameters and expects launch arguments. Each unit parameter may have one or two corresponding launch arguments : if a model parameter has an inout direction, then the launch configuration must define two LaunchModelArgument elements.

This interface is not intended to be implemented by clients.

See Also:
LaunchConfiguration.getEntryPoint()

Method Summary
 LaunchStringArgument addArgument(String value)
          Adds a new String argument, matching a Parameter of the unit.
 LaunchModelArgument addArgument(String connectorName, String uri)
          Adds a new model argument, matching a ModelParameter of the unit.
 List<Object> getArguments()
          Returns the unit arguments to use.
 String getQualifiedName()
          Returns the fully qualified name of the referenced unit, including its package name.
 

Method Detail

getQualifiedName

String getQualifiedName()
Returns the fully qualified name of the referenced unit, including its package name.

Returns:
the fully qualified name of the referenced unit.

getArguments

List<Object> getArguments()
Returns the unit arguments to use.

Returns:
an unmodifiable list of LaunchStringArgument and LaunchModelArgument elements.
See Also:
ProjectElement.getParameters()

addArgument

LaunchStringArgument addArgument(String value)
Adds a new String argument, matching a Parameter of the unit.

Parameters:
value - an argument.
Returns:
a LaunchStringArgument, added to the argument list of this entry-point.
See Also:
Parameter

addArgument

LaunchModelArgument addArgument(String connectorName,
                                String uri)
Adds a new model argument, matching a ModelParameter of the unit.

Parameters:
connectorName - the model reader/writer to use.
uri - an uri used to locate the resource to load/save.
Returns:
a LaunchModelArgument, added to the argument list of this entry-point.
See Also:
ModelParameter