com.github.manosbatsis.corda.testacles.common.jupiter / AbstractNodesMap
AbstractNodesMap¶
abstract class AbstractNodesMap<T :
Any
> :
Map
<
Any
,
T
>
Wraps a map of T node representations, each mapped by multiple keys:
- the original input key
- identity (Party)
- identity name (CordaX500Name
- For identity name (string representation), organization name and commonName (if present):
- lower case first char, without spaces/punctuation
- all lower case, without spaces/punctuation
For example getNode["O=PartyA, L=Athens, C=GR"]
is the same as getNode["partya"]
Constructors¶
Name | Summary |
---|---|
<init> | AbstractNodesMap(input: Map < String , T >) |
Functions¶
Name | Summary |
---|---|
getIdentity | abstract fun getIdentity(of: T ): Party |
getNode | fun getNode(key: Any ): T |
Companion Object Properties¶
Name | Summary |
---|---|
noPunctuationRegex | val noPunctuationRegex: Regex |
Inheritors¶
Name | Summary |
---|---|
NodeHandles | class NodeHandles : AbstractNodesMap <StartedMockNode> ThemockNetwork‘s StartedMockNodes, each mapped by multiple keys: |
NodeHandles | class NodeHandles : AbstractNodesMap <NodeHandle> The node driver]’s NodeHandles, each mapped by multiple keys: |