public interface StarterFactory
| Modifier and Type | Method and Description | 
|---|---|
java.lang.Object | 
canStart(RunProcess runProcess,
        Node node,
        java.util.List errors)
Tests whether this StarterFactory knows how to start the
 specified node. 
 | 
Starter | 
createStarter(RunProcess runProcess,
             Node node,
             java.lang.Object o)
Creates a starter for the specified RunProcess. 
 | 
java.lang.String | 
getName()
Returns a String that identifies this StarterFactory. 
 | 
java.lang.String getName()
The name returned may be presented to the user.
java.lang.Object canStart(RunProcess runProcess, Node node, java.util.List errors)
 If this StarterFactory knows how to start the specified
 node, it should return a non-null Object. The non-null Object will
 be passed to the createStarter(oracle.ide.runner.RunProcess, oracle.ide.model.Node, java.lang.Object) method.
 
 If this StarterFactory does not know how to start the
 specified node, it should add an appropriate error message
 String to the errors List and return null.
 
runProcess - the RunProcessnode - the node that should be startederrors - the errors listStarter createStarter(RunProcess runProcess, Node node, java.lang.Object o)
runProcess - the RunProcess to starto - the non-null Object returned previously from the canStart
 method.