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