Package org.infinispan.cli.resources
Class NodeResource
- java.lang.Object
-
- org.infinispan.cli.resources.AbstractResource
-
- org.infinispan.cli.resources.NodeResource
-
- All Implemented Interfaces:
Resource
public class NodeResource extends AbstractResource
- Since:
- 10.0
- Author:
- Tristan Tarrant <tristan@infinispan.org>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.infinispan.cli.resources.Resource
Resource.ListFormat
-
-
Constructor Summary
Constructors Constructor Description NodeResource(ClusterResource parent, String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisLeaf()Returns whether this resource is a leaf resource (i.e.-
Methods inherited from class org.infinispan.cli.resources.AbstractResource
describe, findAncestor, getChild, getChild, getChildrenNames, getName, getParent, getResource, optionalFindAncestor, printChildren
-
-
-
-
Constructor Detail
-
NodeResource
public NodeResource(ClusterResource parent, String name)
-
-
Method Detail
-
isLeaf
public boolean isLeaf()
Description copied from interface:ResourceReturns whether this resource is a leaf resource (i.e. it has no children, or the children are not navigable)- Specified by:
isLeafin interfaceResource- Overrides:
isLeafin classAbstractResource
-
-