public static class AllocationExplanation.NodeExplanation extends Object
Constructor and Description |
---|
AllocationExplanation.NodeExplanation(DiscoveryNode node,
String description)
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 AllocationExplanation.NodeExplanation(DiscoveryNode node, String description)
AllocationExplanation.NodeExplanation
node
- node referenced by this AllocationExplanation.NodeExplanation
description
- a message associated with the given nodepublic DiscoveryNode node()
public String description()
Copyright © 2009–2017. All rights reserved.