All Packages Class Hierarchy This Package Previous Next Index
Class buildtools.BuildOptions
java.lang.Object
|
+----buildtools.BuildOptions
- public class BuildOptions
- extends Object
build options are essentially a set of properties, but with
a nice and accessible interface. Most Builders will not
need their own subclass of BuildOptions but you are entitled
to implement your own.
-
builderName
-
-
libraries
-
-
profile
-
-
props
-
-
BuildOptions(String)
- only Builders should create BuildOptions so
they should initialize the object with their builderName
-
getBuilderName()
-
-
getBuilderProfile()
-
-
getLibrary(int)
-
-
getNumLibraries()
-
-
getProperty(String)
- general build properties, debug flags or whatever the
builder wants
-
insertLibrary(String, int)
- support for multiple library modules.
-
load(Properties)
-
-
removeLibrary(int)
-
-
save(Properties)
-
persistence mechanism.
-
setBuilderProfile(int)
- the builder profile is a top level interface used to specify which
high level configuration you want for the builder for this project.
-
toString()
-
builderName
String builderName
profile
int profile
libraries
Vector libraries
props
Properties props
BuildOptions
public BuildOptions(String _builderName)
- only Builders should create BuildOptions so
they should initialize the object with their builderName
getBuilderName
public String getBuilderName()
setBuilderProfile
public void setBuilderProfile(int _profile)
- the builder profile is a top level interface used to specify which
high level configuration you want for the builder for this project.
for the JavaBuilder this is used to store what jdk profile to use.
getBuilderProfile
public int getBuilderProfile()
insertLibrary
public void insertLibrary(String lib,
int pos)
- support for multiple library modules. Each one is a string name
alias of some resolved object in the builder
removeLibrary
public void removeLibrary(int pos)
getNumLibraries
public int getNumLibraries()
getLibrary
public int getLibrary(int pos)
getProperty
public String getProperty(String propName)
- general build properties, debug flags or whatever the
builder wants
save
public void save(Properties saveDest)
- persistence mechanism. Since project files are going to be properties
files, lets just
load
public void load(Properties loadProps)
toString
public String toString()
- Overrides:
- toString in class Object
All Packages Class Hierarchy This Package Previous Next Index