public class CordappInfo
A class CordappInfo
describes a single CorDapp currently installed on the node
class CordappInfo
Constructor and Description |
---|
CordappInfo(java.lang.String type,
java.lang.String name,
java.lang.String shortName,
int minimumPlatformVersion,
int targetPlatformVersion,
java.lang.String version,
java.lang.String vendor,
java.lang.String licence,
SecureHash.SHA256 jarHash)
A
class CordappInfo describes a single CorDapp currently installed on the node |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
component1()
A description of what sort of CorDapp this is
|
java.lang.String |
component2()
The name of the JAR file that defines the CorDapp
|
java.lang.String |
component3()
The name of the CorDapp
|
int |
component4()
The minimum platform version the node must be at for the CorDapp to run
|
int |
component5()
The target platform version this CorDapp has been tested against
|
java.lang.String |
component6()
The version of this CorDapp
|
java.lang.String |
component7()
The vendor of this CorDapp
|
java.lang.String |
component8()
The name of the licence this CorDapp is released under
|
SecureHash.SHA256 |
component9()
The hash of the JAR file that defines this CorDapp
|
CordappInfo |
copy(java.lang.String type,
java.lang.String name,
java.lang.String shortName,
int minimumPlatformVersion,
int targetPlatformVersion,
java.lang.String version,
java.lang.String vendor,
java.lang.String licence,
SecureHash.SHA256 jarHash)
A
class CordappInfo describes a single CorDapp currently installed on the node |
boolean |
equals(java.lang.Object p) |
SecureHash.SHA256 |
getJarHash()
The hash of the JAR file that defines this CorDapp
|
java.lang.String |
getLicence()
The name of the licence this CorDapp is released under
|
int |
getMinimumPlatformVersion()
The minimum platform version the node must be at for the CorDapp to run
|
java.lang.String |
getName()
The name of the JAR file that defines the CorDapp
|
java.lang.String |
getShortName()
The name of the CorDapp
|
int |
getTargetPlatformVersion()
The target platform version this CorDapp has been tested against
|
java.lang.String |
getType()
A description of what sort of CorDapp this is
|
java.lang.String |
getVendor()
The vendor of this CorDapp
|
java.lang.String |
getVersion()
The version of this CorDapp
|
int |
hashCode() |
java.lang.String |
toString() |
public CordappInfo(java.lang.String type, java.lang.String name, java.lang.String shortName, int minimumPlatformVersion, int targetPlatformVersion, java.lang.String version, java.lang.String vendor, java.lang.String licence, SecureHash.SHA256 jarHash)
A class CordappInfo
describes a single CorDapp currently installed on the node
type
- A description of what sort of CorDapp this is - either a contract, workflow, or a combination.name
- The name of the JAR file that defines the CorDappshortName
- The name of the CorDappminimumPlatformVersion
- The minimum platform version the node must be at for the CorDapp to runtargetPlatformVersion
- The target platform version this CorDapp has been tested againstversion
- The version of this CorDappvendor
- The vendor of this CorDapplicence
- The name of the licence this CorDapp is released underjarHash
- The hash of the JAR file that defines this CorDapptype
- A description of what sort of CorDapp this is - either a contract, workflow, or a combination.name
- The name of the JAR file that defines the CorDappshortName
- The name of the CorDappminimumPlatformVersion
- The minimum platform version the node must be at for the CorDapp to runtargetPlatformVersion
- The target platform version this CorDapp has been tested againstversion
- The version of this CorDappvendor
- The vendor of this CorDapplicence
- The name of the licence this CorDapp is released underjarHash
- The hash of the JAR file that defines this CorDappclass CordappInfo
public java.lang.String getType()
A description of what sort of CorDapp this is
- either a contract, workflow, or a combination.
public java.lang.String getName()
The name of the JAR file that defines the CorDapp
public java.lang.String getShortName()
The name of the CorDapp
public int getMinimumPlatformVersion()
The minimum platform version the node must be at for the CorDapp to run
public int getTargetPlatformVersion()
The target platform version this CorDapp has been tested against
public java.lang.String getVersion()
The version of this CorDapp
public java.lang.String getVendor()
The vendor of this CorDapp
public java.lang.String getLicence()
The name of the licence this CorDapp is released under
public SecureHash.SHA256 getJarHash()
The hash of the JAR file that defines this CorDapp
public java.lang.String component1()
A description of what sort of CorDapp this is
- either a contract, workflow, or a combination.
public java.lang.String component2()
The name of the JAR file that defines the CorDapp
public java.lang.String component3()
The name of the CorDapp
public int component4()
The minimum platform version the node must be at for the CorDapp to run
public int component5()
The target platform version this CorDapp has been tested against
public java.lang.String component6()
The version of this CorDapp
public java.lang.String component7()
The vendor of this CorDapp
public java.lang.String component8()
The name of the licence this CorDapp is released under
public SecureHash.SHA256 component9()
The hash of the JAR file that defines this CorDapp
public CordappInfo copy(java.lang.String type, java.lang.String name, java.lang.String shortName, int minimumPlatformVersion, int targetPlatformVersion, java.lang.String version, java.lang.String vendor, java.lang.String licence, SecureHash.SHA256 jarHash)
A class CordappInfo
describes a single CorDapp currently installed on the node
type
- A description of what sort of CorDapp this is - either a contract, workflow, or a combination.name
- The name of the JAR file that defines the CorDappshortName
- The name of the CorDappminimumPlatformVersion
- The minimum platform version the node must be at for the CorDapp to runtargetPlatformVersion
- The target platform version this CorDapp has been tested againstversion
- The version of this CorDappvendor
- The vendor of this CorDapplicence
- The name of the licence this CorDapp is released underjarHash
- The hash of the JAR file that defines this CorDappclass CordappInfo
public java.lang.String toString()
public int hashCode()
public boolean equals(java.lang.Object p)