public class ProjectInfo extends BootableProjectInfo
Constructor and Description |
---|
ProjectInfo()
Constructs an empty project info object.
|
ProjectInfo(java.lang.String name,
java.lang.String version,
java.lang.String info,
java.awt.Image logo,
java.lang.String copyright,
java.lang.String licenceName,
java.lang.String licenceText)
Constructs a project info object.
|
Modifier and Type | Method and Description |
---|---|
java.util.List |
getContributors()
Returns the list of contributors for the project.
|
java.lang.String |
getLicenceText()
Returns the licence text.
|
java.awt.Image |
getLogo()
Returns the logo.
|
void |
setContributors(java.util.List contributors)
Sets the list of contributors.
|
void |
setLicenceText(java.lang.String licenceText)
Sets the project licence text.
|
void |
setLogo(java.awt.Image logo)
Sets the project logo.
|
java.lang.String |
toString()
Returns a string describing the project.
|
addDependency, getBootClass, getDependencies, isAutoBoot, setAutoBoot, setBootClass
addLibrary, addOptionalLibrary, addOptionalLibrary, getCopyright, getLibraries, getOptionalLibraries, setCopyright, setInfo, setLicenceName, setName, setVersion
equals, getInfo, getLicenceName, getName, getVersion, hashCode
public ProjectInfo()
public ProjectInfo(java.lang.String name, java.lang.String version, java.lang.String info, java.awt.Image logo, java.lang.String copyright, java.lang.String licenceName, java.lang.String licenceText)
name
- the name of the project.version
- the version.info
- other info (usually a URL).logo
- the project logo.copyright
- a copyright statement.licenceName
- the name of the licence that applies to the project.licenceText
- the text of the licence that applies to the project.public java.awt.Image getLogo()
public void setLogo(java.awt.Image logo)
logo
- the project logo.public java.lang.String getLicenceText()
public void setLicenceText(java.lang.String licenceText)
licenceText
- the licence text.public java.util.List getContributors()
public void setContributors(java.util.List contributors)
contributors
- the list of contributors.public java.lang.String toString()
toString
in class java.lang.Object