public class NotaryInfo
Data class storing information about notaries available in the network.
Constructor and Description |
---|
NotaryInfo(Party identity,
boolean validating)
Data class storing information about notaries available in the network.
|
Modifier and Type | Method and Description |
---|---|
Party |
component1()
Identity of the notary
|
boolean |
component2()
Indicates if the notary is validating.
|
NotaryInfo |
copy(Party identity,
boolean validating)
Data class storing information about notaries available in the network.
|
boolean |
equals(java.lang.Object p) |
Party |
getIdentity()
Identity of the notary
|
boolean |
getValidating()
Indicates if the notary is validating.
|
int |
hashCode() |
java.lang.String |
toString() |
public NotaryInfo(Party identity, boolean validating)
Data class storing information about notaries available in the network.
identity
- Identity of the notary (note that it can be an identity of the distributed node).validating
- Indicates if the notary is validating.public Party getIdentity()
Identity of the notary
(note that it can be an identity of the distributed node).
public boolean getValidating()
Indicates if the notary is validating.
public Party component1()
Identity of the notary
(note that it can be an identity of the distributed node).
public boolean component2()
Indicates if the notary is validating.
public NotaryInfo copy(Party identity, boolean validating)
Data class storing information about notaries available in the network.
public java.lang.String toString()
public int hashCode()
public boolean equals(java.lang.Object p)