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.


Variable Index

 o builderName
 o libraries
 o profile
 o props

Constructor Index

 o BuildOptions(String)
only Builders should create BuildOptions so they should initialize the object with their builderName

Method Index

 o getBuilderName()
 o getBuilderProfile()
 o getLibrary(int)
 o getNumLibraries()
 o getProperty(String)
general build properties, debug flags or whatever the builder wants
 o insertLibrary(String, int)
support for multiple library modules.
 o load(Properties)
 o removeLibrary(int)
 o save(Properties)
persistence mechanism.
 o 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.
 o toString()

Variables

 o builderName
 String builderName
 o profile
 int profile
 o libraries
 Vector libraries
 o props
 Properties props

Constructors

 o BuildOptions
 public BuildOptions(String _builderName)
only Builders should create BuildOptions so they should initialize the object with their builderName

Methods

 o getBuilderName
 public String getBuilderName()
 o 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.

 o getBuilderProfile
 public int getBuilderProfile()
 o 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

 o removeLibrary
 public void removeLibrary(int pos)
 o getNumLibraries
 public int getNumLibraries()
 o getLibrary
 public int getLibrary(int pos)
 o getProperty
 public String getProperty(String propName)
general build properties, debug flags or whatever the builder wants

 o save
 public void save(Properties saveDest)
persistence mechanism. Since project files are going to be properties files, lets just

 o load
 public void load(Properties loadProps)
 o toString
 public String toString()
Overrides:
toString in class Object

All Packages  Class Hierarchy  This Package  Previous  Next  Index