Package org.infinispan.cli.resources
Class TaskResource
- java.lang.Object
-
- org.infinispan.cli.resources.AbstractResource
-
- org.infinispan.cli.resources.TaskResource
-
- All Implemented Interfaces:
Resource
public class TaskResource extends AbstractResource
- Since:
- 10.1
- 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 TaskResource(TasksResource parent, String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringdescribe()Returns a textual representation of this resourcebooleanisLeaf()Returns whether this resource is a leaf resource (i.e.-
Methods inherited from class org.infinispan.cli.resources.AbstractResource
findAncestor, getChild, getChild, getChildrenNames, getName, getParent, getResource, optionalFindAncestor, printChildren
-
-
-
-
Constructor Detail
-
TaskResource
public TaskResource(TasksResource 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
-
describe
public String describe() throws IOException
Description copied from interface:ResourceReturns a textual representation of this resource- Specified by:
describein interfaceResource- Overrides:
describein classAbstractResource- Throws:
IOException
-
-