org.netbeans.modules.java.project/1 1.38.1

org.netbeans.spi.java.project.runner
Interface JavaRunnerImplementation


public interface JavaRunnerImplementation

Implementation of JavaRunner. Looked-up in the default Lookup.

Since:
1.22

Method Summary
 ExecutorTask execute(String command, Map<String,?> properties)
          Implementation of JavaRunner.execute(java.lang.String, java.util.Map).
 boolean isSupported(String command, Map<String,?> properties)
          Implementation of JavaRunner.isSupported(java.lang.String, java.util.Map).
 

Method Detail

isSupported

boolean isSupported(String command,
                    Map<String,?> properties)
Implementation of JavaRunner.isSupported(java.lang.String, java.util.Map).

Parameters:
command - command name
toRun - either the file that would be executed, or the project folder
Returns:
true if and only if the given command is supported for given file/folder
Since:
1.22

execute

ExecutorTask execute(String command,
                     Map<String,?> properties)
                     throws IOException
Implementation of JavaRunner.execute(java.lang.String, java.util.Map).

Parameters:
command - command to execute
props - properties
toRun - file to run
Throws:
IOException - if execution fails
Since:
1.22

org.netbeans.modules.java.project/1 1.38.1

Built on December 5 2011.  |  Portions Copyright 1997-2011 Sun Microsystems, Inc. All rights reserved.