|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.pentaho.reporting.libraries.base.versioning.DependencyInformation
org.pentaho.reporting.libraries.base.versioning.ProjectInformation
public abstract class ProjectInformation
The project information structure contains information about the current project. This is an extended version of the dependency information enriched with information about the boot-process and a list of dependencies.
This class needs to be subclassed by each project that wants to participate in the global boot process.
Constructor Summary | |
---|---|
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. |
Method Summary | |
---|---|
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. |
Methods inherited from class org.pentaho.reporting.libraries.base.versioning.DependencyInformation |
---|
equals, getInfo, getLicenseName, getName, hashCode, setInfo, setLicenseName, setVersion |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
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.Method Detail |
---|
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()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |