org.apache.maven.dotnet.executable
Interface RepositoryExecutableContext

All Superinterfaces:
NMavenContext
All Known Implementing Classes:
RepositoryExecutableContextImpl

public interface RepositoryExecutableContext
extends NMavenContext

Provides services for obtaining the executable for a context.

Author:
Shane Isbell

Field Summary
 
Fields inherited from interface org.apache.maven.dotnet.NMavenContext
ROLE
 
Method Summary
 ExecutableConfig getExecutableConfig()
          Returns user-defined configuration for this context.
 NetExecutable getNetExecutable()
          Returns an instance of NetExecutable for this context.
 void init(ExecutableConfig executableConfig)
          Initializes this context.
 
Methods inherited from interface org.apache.maven.dotnet.NMavenContext
find, getLogger
 

Method Detail

getNetExecutable

NetExecutable getNetExecutable()
                               throws ExecutionException
Returns an instance of NetExecutable for this context.

Returns:
an instance of the NetExecutable
Throws:
ExecutionException - if there is a problem finding an appropriate executable.

getExecutableConfig

ExecutableConfig getExecutableConfig()
Returns user-defined configuration for this context.

Returns:
user-defined configuration for this context

init

void init(ExecutableConfig executableConfig)
          throws InitializationException
Initializes this context.

Parameters:
executableConfig - the executable config for this context
Throws:
InitializationException - if the context cannot be initialized


Copyright © 2007 NMaven. All Rights Reserved.