Package org.infinispan.cli.resources
Class TasksResource
- java.lang.Object
-
- org.infinispan.cli.resources.AbstractResource
-
- org.infinispan.cli.resources.TasksResource
-
- All Implemented Interfaces:
Resource
public class TasksResource 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 Modifier Constructor Description protectedTasksResource(Resource parent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringdescribe()Returns a textual representation of this resourceResourcegetChild(String name)Returns a resource representing the named childIterable<String>getChildrenNames()Returns an iterable over the children of this resource-
Methods inherited from class org.infinispan.cli.resources.AbstractResource
findAncestor, getChild, getName, getParent, getResource, isLeaf, optionalFindAncestor, printChildren
-
-
-
-
Field Detail
-
NAME
public static final String NAME
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
TasksResource
protected TasksResource(Resource parent)
-
-
Method Detail
-
getChildrenNames
public Iterable<String> getChildrenNames() throws IOException
Description copied from interface:ResourceReturns an iterable over the children of this resource- Specified by:
getChildrenNamesin interfaceResource- Overrides:
getChildrenNamesin classAbstractResource- Throws:
IOException
-
getChild
public Resource getChild(String name) throws IOException
Description copied from interface:ResourceReturns a resource representing the named child- Specified by:
getChildin interfaceResource- Overrides:
getChildin classAbstractResource- Throws:
IOException
-
-