|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.freehep.maven.nar.Library
public class Library
Sets up a library to create
Field Summary | |
---|---|
protected List |
args
Arguments to be used for running this executable. |
static String |
EXECUTABLE
|
static String |
JNI
|
protected boolean |
linkCPP
Link with stdcpp if necessary Defaults to true. |
protected boolean |
linkFortran
Link with fortran runtime if necessary Defaults to false. |
protected File |
narSystemDirectory
The target directory into which to generate the output. |
protected String |
narSystemName
Name of the NarSystem class |
protected String |
narSystemPackage
If specified will create the NarSystem class with methods to load a JNI library. |
static String |
NONE
|
static String |
PLUGIN
|
protected boolean |
run
When true and if type is "executable" run this executable. |
static String |
SHARED
|
static String |
STATIC
|
protected String |
type
Type of the library to generate. |
Constructor Summary | |
---|---|
Library()
|
Method Summary | |
---|---|
List |
getArgs()
|
File |
getNarSystemDirectory()
|
String |
getNarSystemName()
|
String |
getNarSystemPackage()
|
String |
getType()
|
boolean |
linkCPP()
|
boolean |
linkFortran()
|
boolean |
shouldRun()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String STATIC
public static final String SHARED
public static final String EXECUTABLE
public static final String JNI
public static final String PLUGIN
public static final String NONE
protected String type
protected boolean linkCPP
protected boolean linkFortran
protected String narSystemPackage
protected String narSystemName
protected File narSystemDirectory
protected boolean run
protected List args
Constructor Detail |
---|
public Library()
Method Detail |
---|
public String getType()
public boolean linkCPP()
public boolean linkFortran()
public String getNarSystemPackage()
public boolean shouldRun()
shouldRun
in interface Executable
public List getArgs()
getArgs
in interface Executable
public String getNarSystemName()
public File getNarSystemDirectory()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |