org.apache.maven.dotnet.executable
Interface NetExecutable

All Known Subinterfaces:
CompilerExecutable
All Known Implementing Classes:
CSharpCompilerForProfile, DefaultCompiler, DefaultNetExecutable, DefaultRepositoryNetExecutable, DotGNUCompiler, JavaCompiler, NemerleCompiler, PhpCompiler, RubyCompiler, ThreadedNetExecutable

public interface NetExecutable

Provides services for executing programs.

Author:
Shane Isbell
See Also:
CompilerExecutable

Method Summary
 void execute()
          Compiles class files.
 java.util.List<java.lang.String> getCommands()
          Returns the commands that this compiler will use to compile the application.
 java.lang.String getExecutable()
          Returns the executable file name that this compiler will use to compile the application.
 java.io.File getExecutionPath()
          Returns the parent directory of the executable.
 Vendor getVendor()
          Returns vendor framework used to run executable.
 void init(NMavenContext nmavenContext)
          Initialize this compiler.
 void resetCommands(java.util.List<java.lang.String> commands)
          Resets the commands to be used by the executable.
 

Method Detail

getCommands

java.util.List<java.lang.String> getCommands()
                                             throws ExecutionException
Returns the commands that this compiler will use to compile the application. This list is unmodifiable.

Returns:
the commands that this compiler will use to compile the application
Throws:
ExecutionException

resetCommands

void resetCommands(java.util.List<java.lang.String> commands)
Resets the commands to be used by the executable. This should only be used if the executable is being reused with different commands from the one that it was initialized with.

Parameters:
commands -

execute

void execute()
             throws ExecutionException
Compiles class files.

Throws:
ExecutionException - if the compiler writes to the standard error stream. artifact (module, library, exe, winexe) or the target artifact is not valid for the compiler

getExecutable

java.lang.String getExecutable()
                               throws ExecutionException
Returns the executable file name that this compiler will use to compile the application.

Returns:
the executable file name that this compiler will use to compile the application
Throws:
ExecutionException

getExecutionPath

java.io.File getExecutionPath()
Returns the parent directory of the executable.

Returns:
the parent directory of the executable

init

void init(NMavenContext nmavenContext)
Initialize this compiler.

Parameters:
nmavenContext -

getVendor

Vendor getVendor()
Returns vendor framework used to run executable.

Returns:
vendor vendor framework used to run executable


Copyright © 2007 NMaven. All Rights Reserved.