public class BootableProjectInfo extends BasicProjectInfo
Constructor and Description |
---|
BootableProjectInfo()
Creates a new instance.
|
BootableProjectInfo(java.lang.String name,
java.lang.String version,
java.lang.String licence,
java.lang.String info)
Creates a new library reference.
|
BootableProjectInfo(java.lang.String name,
java.lang.String version,
java.lang.String info,
java.lang.String copyright,
java.lang.String licenceName)
Creates a new library reference.
|
Modifier and Type | Method and Description |
---|---|
void |
addDependency(BootableProjectInfo projectInfo)
Deprecated.
use 'addLibrary' instead.
|
java.lang.String |
getBootClass()
Returns the name of the boot class.
|
BootableProjectInfo[] |
getDependencies()
Returns the dependencies.
|
boolean |
isAutoBoot()
Returns, whether the project should be booted automaticly.
|
void |
setAutoBoot(boolean autoBoot)
Sets the auto boot flag.
|
void |
setBootClass(java.lang.String bootClass)
Sets the boot class name.
|
addLibrary, addOptionalLibrary, addOptionalLibrary, getCopyright, getLibraries, getOptionalLibraries, setCopyright, setInfo, setLicenceName, setName, setVersion
equals, getInfo, getLicenceName, getName, getVersion, hashCode
public BootableProjectInfo()
public BootableProjectInfo(java.lang.String name, java.lang.String version, java.lang.String licence, java.lang.String info)
name
- the name.version
- the version.licence
- the licence.info
- the web address or other info.public BootableProjectInfo(java.lang.String name, java.lang.String version, java.lang.String info, java.lang.String copyright, java.lang.String licenceName)
name
- the name.version
- the version.info
- the info (for example, the project URL).copyright
- the copyright statement.licenceName
- the license name.public BootableProjectInfo[] getDependencies()
public void addDependency(BootableProjectInfo projectInfo)
projectInfo
- the project.public java.lang.String getBootClass()
public void setBootClass(java.lang.String bootClass)
bootClass
- the boot class name.public boolean isAutoBoot()
public void setAutoBoot(boolean autoBoot)
autoBoot
- true, if the project should be booted automaticly, false otherwise.