@Component(role=AssemblyReader.class) public class DefaultAssemblyReader extends org.codehaus.plexus.logging.AbstractLogEnabled implements AssemblyReader
Constructor and Description |
---|
DefaultAssemblyReader() |
Modifier and Type | Method and Description |
---|---|
Assembly |
getAssemblyForDescriptorReference(String ref,
AssemblerConfigurationSource configSource) |
Assembly |
getAssemblyFromDescriptorFile(File file,
AssemblerConfigurationSource configSource) |
protected org.codehaus.plexus.logging.Logger |
getLogger() |
void |
includeSiteInAssembly(Assembly assembly,
AssemblerConfigurationSource configSource) |
protected void |
mergeComponentsWithMainAssembly(Assembly assembly,
File assemblyDir,
AssemblerConfigurationSource configSource)
Add the contents of all included components to main assembly
|
protected void |
mergeComponentWithAssembly(Component component,
Assembly assembly)
Add the content of a single Component to main assembly
|
List<Assembly> |
readAssemblies(AssemblerConfigurationSource configSource) |
protected Assembly |
readAssembly(Reader reader,
String locationDescription,
File assemblyDir,
AssemblerConfigurationSource configSource) |
public List<Assembly> readAssemblies(AssemblerConfigurationSource configSource) throws AssemblyReadException, InvalidAssemblerConfigurationException
readAssemblies
in interface AssemblyReader
AssemblyReadException
InvalidAssemblerConfigurationException
public Assembly getAssemblyForDescriptorReference(String ref, AssemblerConfigurationSource configSource) throws AssemblyReadException, InvalidAssemblerConfigurationException
getAssemblyForDescriptorReference
in interface AssemblyReader
AssemblyReadException
InvalidAssemblerConfigurationException
public Assembly getAssemblyFromDescriptorFile(File file, AssemblerConfigurationSource configSource) throws AssemblyReadException, InvalidAssemblerConfigurationException
getAssemblyFromDescriptorFile
in interface AssemblyReader
AssemblyReadException
InvalidAssemblerConfigurationException
protected Assembly readAssembly(Reader reader, String locationDescription, File assemblyDir, AssemblerConfigurationSource configSource) throws AssemblyReadException, InvalidAssemblerConfigurationException
protected void mergeComponentsWithMainAssembly(Assembly assembly, File assemblyDir, AssemblerConfigurationSource configSource) throws AssemblyReadException
assembly
- assemblyDir
- AssemblyReadException
protected void mergeComponentWithAssembly(Component component, Assembly assembly)
component
- assembly
- public void includeSiteInAssembly(Assembly assembly, AssemblerConfigurationSource configSource) throws InvalidAssemblerConfigurationException
includeSiteInAssembly
in interface AssemblyReader
InvalidAssemblerConfigurationException
protected org.codehaus.plexus.logging.Logger getLogger()
getLogger
in class org.codehaus.plexus.logging.AbstractLogEnabled
Copyright © 2002–2014 The Apache Software Foundation. All rights reserved.