|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.maven.dotnet.executable.impl.NetExecutableFactoryImpl
public class NetExecutableFactoryImpl
Provides an implementation of NetExecutableFactory
.
Field Summary |
---|
Fields inherited from interface org.apache.maven.dotnet.executable.NetExecutableFactory |
---|
ROLE |
Constructor Summary | |
---|---|
NetExecutableFactoryImpl()
|
Method Summary | |
---|---|
void |
enableLogging(org.codehaus.plexus.logging.Logger logger)
|
CompilerExecutable |
getCompilerExecutableFor(CompilerRequirement compilerRequirement,
CompilerConfig compilerConfig,
org.apache.maven.project.MavenProject project,
java.io.File assemblyPath)
Returns an executable for compiling .NET applications. |
NetExecutable |
getJavaExecutableFromRepository(VendorInfo vendorInfo,
java.util.List<java.lang.String> commands)
|
NetExecutable |
getNetExecutableFor(java.lang.String vendor,
java.lang.String frameworkVersion,
java.lang.String profile,
java.util.List<java.lang.String> commands,
java.io.File netHome)
Returns an executable that matches the vendor, framework version and profile. |
NetExecutable |
getNetExecutableFromRepository(java.lang.String groupId,
java.lang.String artifactId,
VendorInfo vendorInfo,
java.io.File localRepository,
java.util.List<java.lang.String> commands,
boolean isIsolatedAppDomain)
Returns an executable that resides within a maven repository. |
NetExecutable |
getPluginLoaderFor(java.lang.String groupId,
java.lang.String artifactId,
VendorInfo vendorInfo,
java.lang.String localRepository,
java.io.File parameterFile,
java.lang.String mojoName)
Returns a plugin loader for loading and executing a .NET plugin. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NetExecutableFactoryImpl()
Method Detail |
---|
public void enableLogging(org.codehaus.plexus.logging.Logger logger)
enableLogging
in interface org.codehaus.plexus.logging.LogEnabled
LogEnabled.enableLogging(org.codehaus.plexus.logging.Logger)
public CompilerExecutable getCompilerExecutableFor(CompilerRequirement compilerRequirement, CompilerConfig compilerConfig, org.apache.maven.project.MavenProject project, java.io.File assemblyPath) throws PlatformUnsupportedException
NetExecutableFactory
getCompilerExecutableFor
in interface NetExecutableFactory
compilerRequirement
- the requirements for the compilercompilerConfig
- the configuration for the compilerproject
- the maven projectassemblyPath
- an optional parameter for replacing the system assemblies
PlatformUnsupportedException
- if no executable is foundNetExecutableFactory.getCompilerExecutableFor(org.apache.maven.dotnet.executable.compiler.CompilerRequirement,
org.apache.maven.dotnet.executable.compiler.CompilerConfig, org.apache.maven.project.MavenProject, java.io.File)
public NetExecutable getPluginLoaderFor(java.lang.String groupId, java.lang.String artifactId, VendorInfo vendorInfo, java.lang.String localRepository, java.io.File parameterFile, java.lang.String mojoName) throws PlatformUnsupportedException
NetExecutableFactory
getPluginLoaderFor
in interface NetExecutableFactory
groupId
- the group ID of the executable artifact (as specified within the maven repo)artifactId
- the artifact ID of the executable artifact (as specified within the maven repo)vendorInfo
- the additional vendor information used to decide how to execute the net executablelocalRepository
- the local maven repository where the executable resides.parameterFile
- the file containing parameter information to inject into the .NET pluginmojoName
- the name of the .NET Mojo implementation
PlatformUnsupportedException
- if no executable is foundNetExecutableFactory.getPluginLoaderFor(String,String,org.apache.maven.dotnet.vendor.VendorInfo,String,java.io.File,String)
public NetExecutable getNetExecutableFromRepository(java.lang.String groupId, java.lang.String artifactId, VendorInfo vendorInfo, java.io.File localRepository, java.util.List<java.lang.String> commands, boolean isIsolatedAppDomain) throws PlatformUnsupportedException
NetExecutableFactory
getNetExecutableFromRepository
in interface NetExecutableFactory
groupId
- the group ID of the executable artifact (as specified within the maven repo)artifactId
- the artifact ID of the executable artifact (as specified within the maven repo)vendorInfo
- the additional vendor information used to decide how to execute the net executablelocalRepository
- the local maven repository where the executable resides.isIsolatedAppDomain
- the executable can load up assemblies into an isolated application domain. This should
be set to true if the application needs to load up assemblies into another app domain
and to remotly invoke methods on classes in the other app domain, otherwise it should be
set to false.
PlatformUnsupportedException
- if no executable is foundpublic NetExecutable getJavaExecutableFromRepository(VendorInfo vendorInfo, java.util.List<java.lang.String> commands) throws PlatformUnsupportedException
getJavaExecutableFromRepository
in interface NetExecutableFactory
PlatformUnsupportedException
public NetExecutable getNetExecutableFor(java.lang.String vendor, java.lang.String frameworkVersion, java.lang.String profile, java.util.List<java.lang.String> commands, java.io.File netHome) throws PlatformUnsupportedException
NetExecutableFactory
getNetExecutableFor
in interface NetExecutableFactory
vendor
- the vendor of the executableframeworkVersion
- the version of the .NET framework that the executable works underprofile
- the profile of the executable plugin. This is used to differentiate an executable that
matches the same platform and framework version.commands
- the user-defined command options to use with the executablenetHome
- the install root of the .NET framework
PlatformUnsupportedException
- if no executable is foundNetExecutableFactory
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |