Package org.codehaus.mojo.natives.linker
Class AbstractLinker
java.lang.Object
org.codehaus.plexus.logging.AbstractLogEnabled
org.codehaus.mojo.natives.linker.AbstractLinker
- All Implemented Interfaces:
Linker
,org.codehaus.plexus.logging.LogEnabled
- Direct Known Subclasses:
ArchiveLinker
,CLinker
,GccLinker
,TLibLinker
public abstract class AbstractLinker
extends org.codehaus.plexus.logging.AbstractLogEnabled
implements Linker
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract org.codehaus.plexus.util.cli.Commandline
createLinkerCommandLine
(List<File> objectFiles, LinkerConfiguration config) private boolean
isStaled
(LinkerConfiguration config, List<File> compilerOutputFiles) link
(LinkerConfiguration config, List<File> compilerOutputFiles) Methods inherited from class org.codehaus.plexus.logging.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
-
Constructor Details
-
AbstractLinker
public AbstractLinker()
-
-
Method Details
-
createLinkerCommandLine
protected abstract org.codehaus.plexus.util.cli.Commandline createLinkerCommandLine(List<File> objectFiles, LinkerConfiguration config) throws NativeBuildException - Throws:
NativeBuildException
-
link
public File link(LinkerConfiguration config, List<File> compilerOutputFiles) throws NativeBuildException, IOException - Specified by:
link
in interfaceLinker
- Throws:
NativeBuildException
IOException
-
isStaled
-