|
|||||||||
| Home >> All >> [ buildtools overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
buildtools
Class BuildOptions

java.lang.Objectbuildtools.BuildOptions
- public class BuildOptions
- extends java.lang.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.
| Field Summary | |
(package private) java.lang.String |
builderName
|
(package private) java.util.Vector |
libraries
|
(package private) int |
profile
|
(package private) java.util.Properties |
props
|
| Constructor Summary | |
BuildOptions(java.lang.String _builderName)
only Builders should create BuildOptions so they should initialize the object with their builderName |
|
| Method Summary | |
java.lang.String |
getBuilderName()
|
int |
getBuilderProfile()
|
int |
getLibrary(int pos)
|
int |
getNumLibraries()
|
java.lang.String |
getProperty(java.lang.String propName)
general build properties, debug flags or whatever the builder wants |
void |
insertLibrary(java.lang.String lib,
int pos)
support for multiple library modules. |
void |
load(java.util.Properties loadProps)
|
void |
removeLibrary(int pos)
|
void |
save(java.util.Properties saveDest)
persistence mechanism. |
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. |
java.lang.String |
toString()
Convert this Object to a human-readable String. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
builderName
java.lang.String builderName
profile
int profile
libraries
java.util.Vector libraries
props
java.util.Properties props
| Constructor Detail |
BuildOptions
public BuildOptions(java.lang.String _builderName)
- only Builders should create BuildOptions so
they should initialize the object with their builderName
| Method Detail |
getBuilderName
public java.lang.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(java.lang.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 java.lang.String getProperty(java.lang.String propName)
- general build properties, debug flags or whatever the
builder wants
save
public void save(java.util.Properties saveDest)
- persistence mechanism. Since project files are going to be properties
files, lets just
load
public void load(java.util.Properties loadProps)
toString
public java.lang.String toString()
- Description copied from class:
java.lang.Object - Convert this Object to a human-readable String.
There are no limits placed on how long this String
should be or what it should contain. We suggest you
make it as intuitive as possible to be able to place
it into System.out.println() 55
and such.
It is typical, but not required, to ensure that this method never completes abruptly with a java.lang.RuntimeException.
This method will be called when performing string concatenation with this object. If the result is
null, string concatenation will instead use"null".The default implementation returns
getClass().getName() + "@" + Integer.toHexString(hashCode()).
|
|||||||||
| Home >> All >> [ buildtools overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
buildtools.BuildOptions