org.pentaho.reporting.libraries.base.versioning
public class DependencyInformation extends Object
| 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.
|
| protected void | setInfo(String info)
Redefines the extra information of the dependency.
|
| protected void | setLicenseName(String licenseName)
Redefines the license name of the dependency.
|
| protected void | setVersion(String version)
Redefines the version of the dependency.
|
Parameters: name the name of the library, never null.
Parameters: 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.
Parameters: o the other object.
Returns: true, if the dependency information given denotes the same library as this dependency information.
Returns: the text information, or null if no extra information is known.
Returns: the license name.
Returns: the name.
Returns: the version information, or null if no version information is known.
Returns: the hashcode.
Parameters: info the version.
Parameters: licenseName the name of the license.
Parameters: version the version.