org.jfree.base
public class: BootableProjectInfo [javadoc |
source]
java.lang.Object
org.jfree.base.Library
org.jfree.base.BasicProjectInfo
org.jfree.base.BootableProjectInfo
Direct Known Subclasses:
JCommonInfo, JCommonXMLInfo, JFreeChartInfo, JFreeReportInfo, ProjectInfo
Project info for a bootable project. A bootable project provides a controlled
way of initalizing all subsystems by providing a Boot loader implementation.
| Methods from org.jfree.base.BasicProjectInfo: |
|---|
|
addLibrary, addOptionalLibrary, addOptionalLibrary, getCopyright, getLibraries, getOptionalLibraries, setCopyright, setInfo, setLicenceName, setName, setVersion |
| Method from org.jfree.base.BootableProjectInfo Detail: |
public void addDependency(BootableProjectInfo projectInfo) {
if (projectInfo == null) {
throw new NullPointerException();
}
addLibrary(projectInfo);
} Deprecated! use - 'addLibrary' instead.
|
public String getBootClass() {
return this.bootClass;
}
Returns the name of the boot class. |
public BootableProjectInfo[] getDependencies() {
final ArrayList dependencies = new ArrayList();
final Library[] libraries = getLibraries();
for (int i = 0; i < libraries.length; i++) {
Library lib = libraries[i];
if (lib instanceof BootableProjectInfo) {
dependencies.add(lib);
}
}
final Library[] optionalLibraries = getOptionalLibraries();
for (int i = 0; i < optionalLibraries.length; i++) {
Library lib = optionalLibraries[i];
if (lib instanceof BootableProjectInfo) {
dependencies.add(lib);
}
}
return (BootableProjectInfo[]) dependencies.toArray
(new BootableProjectInfo[dependencies.size()]);
}
Returns the dependencies. |
public boolean isAutoBoot() {
return this.autoBoot;
}
Returns, whether the project should be booted automaticly. |
public void setAutoBoot(boolean autoBoot) {
this.autoBoot = autoBoot;
}
|
public void setBootClass(String bootClass) {
this.bootClass = bootClass;
}
Sets the boot class name. |