|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.splunk.Resource com.splunk.Entity com.splunk.Application
public class Application
The Application
class represents a locally-installed Splunk app.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface java.util.Map |
---|
java.util.Map.Entry<K,V> |
Field Summary |
---|
Fields inherited from class com.splunk.Entity |
---|
content, toUpdate |
Fields inherited from class com.splunk.Resource |
---|
actions, path, refreshArgs, service, title |
Method Summary | |
---|---|
ApplicationArchive |
archive()
Archives the app on the server file system. |
java.lang.String |
getAuthor()
Returns the name of the app's author. |
boolean |
getCheckForUpdates()
Indicates whether Splunk checks Splunkbase for updates. |
java.lang.String |
getDescription()
Returns a short description of the app. |
java.lang.String |
getLabel()
Returns the app's label (its name). |
boolean |
getRefresh()
Indicates whether to reload objects contained in the locally-installed app. |
ApplicationUpdate |
getUpdate()
Returns any update information that is available for the app. |
java.lang.String |
getVersion()
Returns the version of the app. |
boolean |
isConfigured()
Indicates whether the app's custom setup has been performed. |
boolean |
isVisible()
Indicates whether the app is visible and navigable from Splunk Web. |
void |
setAuthor(java.lang.String author)
Sets the name of the app's author. |
void |
setCheckForUpdates(boolean value)
Sets whether Splunk checks Splunkbase for updates to the app. |
void |
setConfigured(boolean value)
Sets whether the app's custom setup has been performed. |
void |
setDescription(java.lang.String description)
Sets a short description of the application, which is displayed below the app's title on the Splunk Home tab in Splunk Web. |
void |
setLabel(java.lang.String label)
Sets the app's name, which is displayed in Splunk Web. |
ApplicationSetup |
setup()
Returns the app's setup information. |
void |
setVersion(java.lang.String version)
Sets the version of the app. |
void |
setVisible(boolean visible)
Sets whether the app is visible and navigable from Splunk Web. |
boolean |
stateChangeRequiresRestart()
Indicates whether a state change requires the app to be restarted. |
Methods inherited from class com.splunk.Entity |
---|
actionPath, clear, containsKey, containsValue, disable, enable, entrySet, get, getContent, getMetadata, isDisabled, isEmpty, isNameChangeAllowed, keySet, put, putAll, refresh, remove, remove, size, update, update, validate, values |
Methods inherited from class com.splunk.Resource |
---|
getName, getPath, getService, getTitle, invalidate |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.util.Map |
---|
equals, hashCode |
Method Detail |
---|
public java.lang.String getAuthor()
null
if not specified.public boolean getCheckForUpdates()
true
if Splunk checks Splunkbase for app updates,
false
if not.public java.lang.String getDescription()
null
if not specified.public java.lang.String getLabel()
null
if not specified.public boolean getRefresh()
true
if objects are reloaded, false
if not.public java.lang.String getVersion()
null
if not specified.public boolean isConfigured()
true
if custom setup has been performed, false
if not.public boolean isVisible()
true
if the app is visible and navigable from Splunk
Web, false
if not.public boolean stateChangeRequiresRestart()
true
if state changes require the app to be restarted,
false
if not.public void setAuthor(java.lang.String author)
author
- The author name.public void setCheckForUpdates(boolean value)
value
- true
if Splunk checks Splunkbase for app updates,
false
if not.public void setConfigured(boolean value)
value
- true
if the app has run its custom setup,
false
if not.public void setDescription(java.lang.String description)
description
- The short description of the app.public void setLabel(java.lang.String label)
label
- The label (name) of the app.public void setVersion(java.lang.String version)
version
- The app's version.public void setVisible(boolean visible)
visible
- true
if the app can be visible and navigable
from Splunk Web, false
if not.public ApplicationArchive archive()
public ApplicationSetup setup()
public ApplicationUpdate getUpdate()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |