public class ComponentsInfo extends Object
Constructor and Description |
---|
ComponentsInfo(org.codehaus.jackson.JsonNode rootNode)
The only constructor.
|
Modifier and Type | Method and Description |
---|---|
ComponentInfo |
forId(String id) |
ComponentInfo |
forName(String name) |
ComponentInfo |
forPid(String pid) |
int |
getNumberOfInstalledComponents() |
public ComponentsInfo(org.codehaus.jackson.JsonNode rootNode) throws ClientException
rootNode
- the root JSON node of the components info.ClientException
- if the info cannot be retrievedpublic int getNumberOfInstalledComponents() throws ClientException
ClientException
- if the info cannot be retrievedpublic ComponentInfo forId(String id) throws ClientException
id
- the id of the componentid
ClientException
- if the info cannot be retrievedpublic ComponentInfo forName(String name) throws ClientException
name
- the name of the componentname
ClientException
- if the info cannot be retrievedpublic ComponentInfo forPid(String pid) throws ClientException
pid
- the pid of the componentpid
ClientException
- if the info cannot be retrievedCopyright © 2007–2018 The Apache Software Foundation. All rights reserved.