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
,TLibLinker
public abstract class AbstractLinker extends org.codehaus.plexus.logging.AbstractLogEnabled implements Linker
-
-
Constructor Summary
Constructors Constructor Description AbstractLinker()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract org.codehaus.plexus.util.cli.Commandline
createLinkerCommandLine(java.util.List objectFiles, LinkerConfiguration config)
private boolean
isStaled(LinkerConfiguration config, java.util.List compilerOutputFiles)
java.io.File
link(LinkerConfiguration config, java.util.List compilerOutputFiles)
-
-
-
Method Detail
-
createLinkerCommandLine
protected abstract org.codehaus.plexus.util.cli.Commandline createLinkerCommandLine(java.util.List objectFiles, LinkerConfiguration config) throws NativeBuildException
- Throws:
NativeBuildException
-
link
public java.io.File link(LinkerConfiguration config, java.util.List compilerOutputFiles) throws NativeBuildException, java.io.IOException
- Specified by:
link
in interfaceLinker
- Throws:
NativeBuildException
java.io.IOException
-
isStaled
private boolean isStaled(LinkerConfiguration config, java.util.List compilerOutputFiles)
-
-