public final class PerspectiveResponseTimeResourceType extends Object implements OnmsResourceType
Constructor and Description |
---|
PerspectiveResponseTimeResourceType(ResourceStorageDao resourceStorageDao,
IpInterfaceDao ipInterfaceDao) |
Modifier and Type | Method and Description |
---|---|
OnmsResource |
getChildByName(OnmsResource parent,
String ipWithPerspective)
Retrieves a child resource with the given name from the parent.
|
String |
getLabel()
Provides a human-friendly label for this resource type.
|
String |
getLinkForResource(OnmsResource resource)
getLinkForResource
|
String |
getName()
Provides a unique name for this resource type.
|
List<OnmsResource> |
getResourcesForParent(OnmsResource parent)
Returns the set of resources that are available on the given
parent.
|
boolean |
isResourceTypeOnParent(OnmsResource parent)
Returns true if one on more instances of the resource type
are present on the parent resource.
|
public PerspectiveResponseTimeResourceType(ResourceStorageDao resourceStorageDao, IpInterfaceDao ipInterfaceDao)
public String getLabel()
OnmsResourceType
getLabel
in interface OnmsResourceType
public String getName()
OnmsResourceType
getName
in interface OnmsResourceType
public String getLinkForResource(OnmsResource resource)
OnmsResourceType
getLinkForResource
getLinkForResource
in interface OnmsResourceType
resource
- a OnmsResource
object.String
object.public boolean isResourceTypeOnParent(OnmsResource parent)
OnmsResourceType
isResourceTypeOnParent
in interface OnmsResourceType
public List<OnmsResource> getResourcesForParent(OnmsResource parent)
OnmsResourceType
getResourcesForParent
in interface OnmsResourceType
public OnmsResource getChildByName(OnmsResource parent, String ipWithPerspective)
OnmsResourceType
getChildByName
in interface OnmsResourceType
Copyright © 2020. All rights reserved.