org.apache.maven.dotnet.assembler
Interface AssemblerContext

All Known Implementing Classes:
AssemblerContextImpl

public interface AssemblerContext

Provides services for generating of AssemblyInfo.* file.

Author:
Shane Isbell

Field Summary
static java.lang.String ROLE
          Role used to register component implementations with the container.
 
Method Summary
 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
 

Field Detail

ROLE

static final java.lang.String ROLE
Role used to register component implementations with the container.

Method Detail

getAssemblyInfo

AssemblyInfo getAssemblyInfo()
Returns the assembly info associated with this context.

Returns:
the assembly info associated with this context.

getAssemblyInfoMarshallerFor

AssemblyInfoMarshaller getAssemblyInfoMarshallerFor(java.lang.String language)
                                                    throws AssemblyInfoException
Returns the marshaller for the given language

Parameters:
language - the .NET language
Returns:
the marshaller for the specified language
Throws:
AssemblyInfoException - if no marshaller can be found for the specified language

getClassExtensionFor

java.lang.String getClassExtensionFor(java.lang.String language)
                                      throws PlatformUnsupportedException
Returns the class extension (cs, vb) for the specified language.

Parameters:
language - the class language. Must match language within the assembly-plugins.xml file.
Returns:
the class extension (cs, vb) for the specified language.
Throws:
PlatformUnsupportedException - the language is not supported

init

void init(org.apache.maven.project.MavenProject mavenProject)
          throws InitializationException
Initializes the context

Parameters:
mavenProject - the maven project
Throws:
InitializationException - if the context cannot be initialized


Copyright © 2007 NMaven. All Rights Reserved.