org.pentaho.reporting.libraries.base.versioning
public abstract class ProjectInformation extends DependencyInformation
Modifier | Constructor and Description |
---|---|
protected |
ProjectInformation(java.lang.String name)
Creates a new project information object with the given name.
|
protected |
ProjectInformation(java.lang.String internalName,
java.lang.String publicName)
Creates a new project information object with the given name.
|
Modifier and Type | Method and Description |
---|---|
void |
addLibrary(DependencyInformation library)
Adds a library.
|
protected void |
addOptionalLibrary(DependencyInformation library)
Adds an optional library.
|
protected void |
addOptionalLibrary(java.lang.String libraryClass)
Adds an optional library.
|
java.lang.String |
getBootClass()
Returns the boot class.
|
java.lang.String |
getCopyright()
Returns the copyright string for thie project.
|
java.lang.String |
getInternalName()
Returns the internal name of the project.
|
DependencyInformation[] |
getLibraries()
Returns a list of libraries used by the project.
|
DependencyInformation[] |
getOptionalLibraries()
Returns a list of optional libraries used by the project.
|
java.lang.String |
getProductId()
Returns the product ID from the Manifest.
|
java.lang.String |
getReleaseBuildNumber()
Returns the release build number from the Manifest.
|
java.lang.String |
getReleaseCandidateToken()
Returns the release candidate token from the Manifest.
|
java.lang.String |
getReleaseMajor()
Returns the release major version number from the Manifest.
|
java.lang.String |
getReleaseMilestone()
Returns the release milestone number from the Manifest.
|
java.lang.String |
getReleaseMinor()
Returns the release minor version number from the Manifest.
|
java.lang.String |
getReleaseNumber()
Returns the release number from the Manifest.
|
java.lang.String |
getVersion()
Returns the version number from the Manifest.
|
protected void |
setBootClass(java.lang.String bootClass)
Redefines the boot class.
|
protected void |
setCopyright(java.lang.String copyright)
Updates the copyright string for thie project.
|
equals, getInfo, getLicenseName, getName, hashCode, setInfo, setLicenseName, setVersion
protected ProjectInformation(java.lang.String name)
name
- the name of the project, when internal and public names are equal.protected ProjectInformation(java.lang.String internalName, java.lang.String publicName)
internalName
- the internal name of the project.publicName
- the public name of the project.public java.lang.String getCopyright()
protected void setCopyright(java.lang.String copyright)
copyright
- the copyright string.public java.lang.String getInternalName()
public java.lang.String getBootClass()
protected void setBootClass(java.lang.String bootClass)
bootClass
- the bootclass (might be null).public DependencyInformation[] getLibraries()
public void addLibrary(DependencyInformation library)
library
- the library.public DependencyInformation[] getOptionalLibraries()
protected void addOptionalLibrary(java.lang.String libraryClass)
libraryClass
- the library.protected void addOptionalLibrary(DependencyInformation library)
library
- the library.public java.lang.String getVersion()
getVersion
in class DependencyInformation
public java.lang.String getProductId()
public java.lang.String getReleaseMilestone()
public java.lang.String getReleaseMinor()
public java.lang.String getReleaseMajor()
public java.lang.String getReleaseCandidateToken()
public java.lang.String getReleaseNumber()
public java.lang.String getReleaseBuildNumber()