|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.maven.dotnet.executable.impl.RepositoryExecutableContextImpl
public class RepositoryExecutableContextImpl
Provides an implementation of the repository executable context.
| Field Summary |
|---|
| Fields inherited from interface org.apache.maven.dotnet.NMavenContext |
|---|
ROLE |
| Constructor Summary | |
|---|---|
RepositoryExecutableContextImpl()
|
|
| Method Summary | |
|---|---|
void |
enableLogging(org.codehaus.plexus.logging.Logger logger)
|
Repository |
find(java.lang.String repositoryName)
This method is used to obtain an instance of a Repository specified within the registry-config.xml file. |
ExecutableConfig |
getExecutableConfig()
Returns user-defined configuration for this context. |
org.codehaus.plexus.logging.Logger |
getLogger()
Returns Maven Plexus logger: Log. |
NetExecutable |
getNetExecutable()
Returns an instance of NetExecutable for this context. |
void |
init(ExecutableConfig executableConfig)
Initializes this context. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RepositoryExecutableContextImpl()
| Method Detail |
|---|
public void enableLogging(org.codehaus.plexus.logging.Logger logger)
enableLogging in interface org.codehaus.plexus.logging.LogEnabledLogEnabled.enableLogging(org.codehaus.plexus.logging.Logger)public org.codehaus.plexus.logging.Logger getLogger()
NMavenContextLog.
getLogger in interface NMavenContextpublic ExecutableConfig getExecutableConfig()
RepositoryExecutableContext
getExecutableConfig in interface RepositoryExecutableContext
public NetExecutable getNetExecutable()
throws ExecutionException
RepositoryExecutableContext
getNetExecutable in interface RepositoryExecutableContextExecutionException - if there is a problem finding an appropriate executable.
public Repository find(java.lang.String repositoryName)
throws RepositoryNotFoundException
NMavenContextRepository specified within the registry-config.xml file.
This method allows the application developer to create configuration files and have them accessible through the
NMaven Context. For more information on how the registry/repository works, go to
http://jvending.sourceforge.net/registry-cdc/
find in interface NMavenContextrepositoryName - the name of the repository. This name should match the /RepositoryNotFoundException - if repository is not found.
public void init(ExecutableConfig executableConfig)
throws InitializationException
RepositoryExecutableContext
init in interface RepositoryExecutableContextexecutableConfig - the executable config for this context
InitializationException - if the context cannot be initialized
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||