|
||||||||||
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(String name)
Creates a minimal dependency information object for the library with the given name. |
|
DependencyInformation(String name,
String version,
String licenseName,
String info)
Creates a minimal dependency information object for the library with the given name. |
Method Summary | |
---|---|
boolean |
equals(Object o)
Tests this object for equality. |
String |
getInfo()
Returns the extra information. |
String |
getLicenseName()
Returns the name of the license of this dependency. |
String |
getName()
Returns the name of the dependency, which is never null. |
String |
getVersion()
Returns the version number. |
int |
hashCode()
Computes a hashcode based on the name of the dependency. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DependencyInformation(String name)
name
- the name of the library, never null.public DependencyInformation(String name, String version, String licenseName, 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 |
---|
public String getName()
public String getVersion()
public String getLicenseName()
public String getInfo()
public boolean equals(Object o)
equals
in class Object
o
- the other object.
public int hashCode()
hashCode
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |