|
|||||||||
| 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
public class DependencyInformation
An data-structure documenting external dependencies. Use this in your ProjectInformation implementation to tell users what other libraries you use to give them proper credit.
| Constructor Summary | |
|---|---|
DependencyInformation(java.lang.String name)
Creates a minimal dependency information object for the library with the given name. |
|
DependencyInformation(java.lang.String name,
java.lang.String version,
java.lang.String licenseName,
java.lang.String info)
Creates a minimal dependency information object for the library with the given name. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object o)
Tests this object for equality. |
java.lang.String |
getInfo()
Returns the extra information. |
java.lang.String |
getLicenseName()
Returns the name of the license of this dependency. |
java.lang.String |
getName()
Returns the name of the dependency, which is never null. |
java.lang.String |
getVersion()
Returns the version number. |
int |
hashCode()
Computes a hashcode based on the name of the dependency. |
protected void |
setInfo(java.lang.String info)
Redefines the extra information of the dependency. |
protected void |
setLicenseName(java.lang.String licenseName)
Redefines the license name of the dependency. |
protected void |
setVersion(java.lang.String version)
Redefines the version of the dependency. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DependencyInformation(java.lang.String name)
name - the name of the library, never null.
public DependencyInformation(java.lang.String name,
java.lang.String version,
java.lang.String licenseName,
java.lang.String info)
name - the name of the library, never null.version - The version of the library, if known.licenseName - The license the library is distributed under.info - Some more information, liek a web-site or comment.| Method Detail |
|---|
protected void setVersion(java.lang.String version)
version - the version.protected void setLicenseName(java.lang.String licenseName)
licenseName - the name of the license.protected void setInfo(java.lang.String info)
info - the version.public java.lang.String getName()
public java.lang.String getVersion()
public java.lang.String getLicenseName()
public java.lang.String getInfo()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objecto - the other object.
public int hashCode()
hashCode in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||