public class NodeLevelResource extends AbstractResource
| Constructor and Description | 
|---|
NodeLevelResource(int nodeId)  | 
NodeLevelResource(int nodeId,
                 String path)
Deprecated. 
 
use a  
GenericTypeResource instead | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
equals(Object obj)  | 
String | 
getInstance()
Returns a unique name for the instance of this resource. 
 | 
String | 
getLabel(CollectionResource resource)
Returns a unique label for the instance of this resource. 
 | 
int | 
getNodeId()  | 
Resource | 
getParent()  | 
String | 
getPath()  | 
ResourcePath | 
getPath(CollectionResource resource)
Retrieves the path of the resource, relative to the repository root. 
 | 
String | 
getTypeName()
Returns the type name associated with the resource. 
 | 
String | 
getUnmodifiedInstance()
Returns the original unmodified unique name for the instance of this resource. 
 | 
int | 
hashCode()  | 
String | 
toString()  | 
getTimestamp, resolve, setTimestamppublic NodeLevelResource(int nodeId)
public NodeLevelResource(int nodeId,
                         String path)
GenericTypeResource insteadGenericTypeResources instead, however
 it exists for backwards compatibility with the JMX collector.nodeId - the node idpath - sub-directory of the node directorypublic int getNodeId()
public String getPath()
public Resource getParent()
public String getInstance()
ResourceIndexStorageStrategypublic String getUnmodifiedInstance()
ResourceObjectNameStorageStrategypublic ResourcePath getPath(CollectionResource resource)
Resourceresource - Used by the GenericTypeResource in order to determine the instance name.public String getLabel(CollectionResource resource)
ResourceCollectionResourceWrapperString object.public String getTypeName()
ResourceCopyright © 2020. All rights reserved.