public static class AllocationExplanation.NodeExplanation
extends java.lang.Object
Constructor and Description |
---|
NodeExplanation(DiscoveryNode node,
java.lang.String description)
Creates a new
AllocationExplanation.NodeExplanation |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
description()
Get the explanation for the node
|
DiscoveryNode |
node()
The node referenced by the explanation
|
public NodeExplanation(DiscoveryNode node, java.lang.String description)
AllocationExplanation.NodeExplanation
node
- node referenced by this AllocationExplanation.NodeExplanation
description
- a message associated with the given nodepublic DiscoveryNode node()
public java.lang.String description()