|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface OnmsResourceType
| Method Summary | |
|---|---|
String |
getLabel()
Provides a human-friendly label for this resource type. |
String |
getLinkForResource(OnmsResource resource)
|
String |
getName()
Provides a unique name for this resource type. |
List<OnmsResource> |
getResourcesForDomain(String domain)
Gets a list of resources on a specific domain. |
List<OnmsResource> |
getResourcesForNode(int nodeId)
Gets a list of resources on a specific node. |
boolean |
isResourceTypeOnDomain(String domain)
Checks whether this resource type is on a specific domain. |
boolean |
isResourceTypeOnNode(int nodeId)
Checks whether this resource type is on a specific node. |
| Method Detail |
|---|
String getName()
String getLabel()
boolean isResourceTypeOnNode(int nodeId)
nodeId - node ID to check
List<OnmsResource> getResourcesForNode(int nodeId)
nodeId - node ID for which to get resources
boolean isResourceTypeOnDomain(String domain)
domain - domain to check
List<OnmsResource> getResourcesForDomain(String domain)
domain - domain for which to get resources
String getLinkForResource(OnmsResource resource)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||