|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.maven.dotnet.assembler.impl.AssemblerContextImpl
public final class AssemblerContextImpl
Provides an implementation of the AssemblerContext
.
Field Summary |
---|
Fields inherited from interface org.apache.maven.dotnet.assembler.AssemblerContext |
---|
ROLE |
Constructor Summary | |
---|---|
AssemblerContextImpl()
Constructor. |
Method Summary | |
---|---|
void |
enableLogging(org.codehaus.plexus.logging.Logger logger)
|
AssemblyInfo |
getAssemblyInfo()
Returns the assembly info associated with this context. |
AssemblyInfoMarshaller |
getAssemblyInfoMarshallerFor(java.lang.String language)
Returns the marshaller for the given language |
java.lang.String |
getClassExtensionFor(java.lang.String language)
Returns the class extension (cs, vb) for the specified language. |
void |
init(org.apache.maven.project.MavenProject mavenProject)
Initializes the context |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AssemblerContextImpl()
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 AssemblyInfo getAssemblyInfo()
AssemblerContext
getAssemblyInfo
in interface AssemblerContext
AssemblerContext.getAssemblyInfo()
public AssemblyInfoMarshaller getAssemblyInfoMarshallerFor(java.lang.String language) throws AssemblyInfoException
AssemblerContext
getAssemblyInfoMarshallerFor
in interface AssemblerContext
language
- the .NET language
AssemblyInfoException
- if no marshaller can be found for the specified languageAssemblerContext.getAssemblyInfoMarshallerFor(String)
public java.lang.String getClassExtensionFor(java.lang.String language) throws PlatformUnsupportedException
AssemblerContext
getClassExtensionFor
in interface AssemblerContext
language
- the class language. Must match language within the assembly-plugins.xml file.
PlatformUnsupportedException
- the language is not supportedAssemblerContext.getClassExtensionFor(String)
public void init(org.apache.maven.project.MavenProject mavenProject) throws InitializationException
AssemblerContext
init
in interface AssemblerContext
mavenProject
- the maven project
InitializationException
- if the context cannot be initializedAssemblerContext.init(org.apache.maven.project.MavenProject)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |