|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CompilerContext
Interface defining compiler services.
| Field Summary | |
|---|---|
static java.lang.String |
ROLE
Role used to register component implementations with the container. |
| Method Summary | |
|---|---|
java.io.File |
getArtifact()
Returns the artifact that the compiler generated. |
CommandFilter |
getCommandFilter()
Creates a command filter. |
CompilerCapability |
getCompilerCapability()
Return the CompilerCapability associated with this context. |
CompilerExecutable |
getCompilerExecutable()
Returns an instance of the NetExecutable appropriate for given language/vendor/OS. |
CompilerRequirement |
getCompilerRequirement()
Requirements used to match the compiler plugin associated with this context. |
java.util.List<java.lang.String> |
getCoreAssemblyNames()
Returns assembly names that should be referenced by the compiler. |
java.util.List<org.apache.maven.artifact.Artifact> |
getDirectModuleDependencies()
Returns a list of module (netmodule) dependencies that exist directly within the invoking projects pom (no transitive module dependencies). |
java.util.List<java.io.File> |
getEmbeddedResources()
Returns a list of resources that the compiler should embed in the compiled assembly. |
KeyInfo |
getKeyInfo()
|
java.util.List<org.apache.maven.artifact.Artifact> |
getLibraryDependencies()
Returns a list of library (dll) dependencies of the class files. |
java.util.List<java.io.File> |
getLinkedResources()
Returns a list of resources that the compiler should link to the compiled assembly |
java.util.List<org.apache.maven.artifact.Artifact> |
getModuleDependencies()
Returns a list of module (netmodule) dependencies of the class files. |
CompilerConfig |
getNetCompilerConfig()
Returns the user provided configuration associated to this context. |
java.lang.String |
getSourceDirectoryName()
Returns the source directory (or test source directory) path of the class files. |
java.io.File |
getTargetDirectory()
|
java.io.File |
getWin32Icon()
Returns the icon that the assembly should display when viewed. |
java.util.List<java.io.File> |
getWin32Resources()
Returns a list of win32 resources. |
void |
init(CompilerRequirement compilerRequirement,
CompilerConfig config,
org.apache.maven.project.MavenProject project,
CapabilityMatcher capabilityMatcher)
Initializes the context |
| Methods inherited from interface org.apache.maven.dotnet.NMavenContext |
|---|
find, getLogger |
| Field Detail |
|---|
static final java.lang.String ROLE
| Method Detail |
|---|
java.io.File getArtifact()
throws InvalidArtifactException
project.getArtifact().setFile(compilerContext.getArtifact());
InvalidArtifactExceptionCompilerCapability getCompilerCapability()
CompilerCapability associated with this context.
CompilerCapability associated with this context.java.util.List<java.lang.String> getCoreAssemblyNames()
java.util.List<org.apache.maven.artifact.Artifact> getDirectModuleDependencies()
KeyInfo getKeyInfo()
java.util.List<org.apache.maven.artifact.Artifact> getLibraryDependencies()
java.util.List<org.apache.maven.artifact.Artifact> getModuleDependencies()
CompilerConfig getNetCompilerConfig()
CompilerRequirement getCompilerRequirement()
java.lang.String getSourceDirectoryName()
java.io.File getTargetDirectory()
CompilerExecutable getCompilerExecutable()
throws ExecutionException
ExecutionException - if there is a problem finding an appropriate executable.CommandFilter getCommandFilter()
java.util.List<java.io.File> getLinkedResources()
java.util.List<java.io.File> getEmbeddedResources()
java.io.File getWin32Icon()
java.util.List<java.io.File> getWin32Resources()
void init(CompilerRequirement compilerRequirement,
CompilerConfig config,
org.apache.maven.project.MavenProject project,
CapabilityMatcher capabilityMatcher)
throws PlatformUnsupportedException
compilerRequirement - config - project - capabilityMatcher -
PlatformUnsupportedException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||