Class BootableProjectInfo
java.lang.Object
org.jfree.base.Library
org.jfree.base.BasicProjectInfo
org.jfree.base.BootableProjectInfo
- Direct Known Subclasses:
ProjectInfo
Project info for a bootable project. A bootable project provides a controlled
way of initalizing all subsystems by providing a Boot loader implementation.
- Author:
- Thomas Morgner
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new instance.BootableProjectInfo(String name, String version, String licence, String info) Creates a new library reference.Creates a new library reference. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddDependency(BootableProjectInfo projectInfo) Deprecated.use 'addLibrary' instead.Returns the name of the boot class.Returns the dependencies.booleanReturns, whether the project should be booted automaticly.voidsetAutoBoot(boolean autoBoot) Sets the auto boot flag.voidsetBootClass(String bootClass) Sets the boot class name.Methods inherited from class BasicProjectInfo
addLibrary, addOptionalLibrary, addOptionalLibrary, getCopyright, getLibraries, getOptionalLibraries, setCopyright, setInfo, setLicenceName, setName, setVersionMethods inherited from class Library
equals, getInfo, getLicenceName, getName, getVersion, hashCode
-
Constructor Details
-
BootableProjectInfo
public BootableProjectInfo()Creates a new instance. -
BootableProjectInfo
Creates a new library reference.- Parameters:
name- the name.version- the version.licence- the licence.info- the web address or other info.
-
BootableProjectInfo
public BootableProjectInfo(String name, String version, String info, String copyright, String licenceName) Creates a new library reference.- Parameters:
name- the name.version- the version.info- the info (for example, the project URL).copyright- the copyright statement.licenceName- the license name.
-
-
Method Details
-
getDependencies
-
addDependency
Deprecated.use 'addLibrary' instead.Adds a dependency.- Parameters:
projectInfo- the project.
-
getBootClass
Returns the name of the boot class.- Returns:
- The name of the boot class.
-
setBootClass
Sets the boot class name.- Parameters:
bootClass- the boot class name.
-
isAutoBoot
Returns, whether the project should be booted automaticly.- Returns:
- The auto-boot flag.
-
setAutoBoot
Sets the auto boot flag.- Parameters:
autoBoot- true, if the project should be booted automaticly, false otherwise.
-