|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.splunk.Resource
public abstract class Resource
The Resource
abstract base class represents a Splunk resource.
Method Summary | |
---|---|
java.lang.String |
getName()
Returns the resource name. |
java.lang.String |
getPath()
Returns the path to this resource. |
Service |
getService()
Returns the Service instance this resource is connected to. |
java.lang.String |
getTitle()
Return the title of this resource, which corresponds to the Atom <title> element. |
Resource |
invalidate()
Marks the local state of this resource as no longer current. |
abstract Resource |
refresh()
Refreshes the local state of this resource. |
Resource |
validate()
Ensures that the local state of the resource is current, calling refresh if necessary. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public java.lang.String getName()
public java.lang.String getPath()
public Service getService()
Service
instance this resource is connected to.
Service
instance.public java.lang.String getTitle()
<title>
element.
public Resource invalidate()
Resource
instance.public abstract Resource refresh()
Resource
instance.public Resource validate()
refresh
if necessary.
Resource
instance.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |