Modifier and Type | Method and Description |
---|---|
ApplicationArchive |
archive()
Archives the app on the server file system.
|
String |
getAuthor()
Returns the name of the app's author.
|
boolean |
getCheckForUpdates()
Indicates whether Splunk checks Splunkbase for updates.
|
String |
getDescription()
Returns a short description of the app.
|
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.
|
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(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(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(String label)
Sets the app's name, which is displayed in Splunk Web.
|
ApplicationSetup |
setup()
Returns the app's setup information.
|
void |
setVersion(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.
|
actionPath, clear, containsKey, containsValue, disable, enable, entrySet, get, getContent, getMetadata, isDisabled, isEmpty, isNameChangeAllowed, keySet, put, putAll, refresh, remove, remove, size, update, update, validate, values
getName, getPath, getService, getTitle, getUpdated, invalidate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
public String getAuthor()
null
if not specified.public boolean getCheckForUpdates()
true
if Splunk checks Splunkbase for app updates,
false
if not.public String getDescription()
null
if not specified.public String getLabel()
null
if not specified.public boolean getRefresh()
true
if objects are reloaded, false
if not.public 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(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(String description)
description
- The short description of the app.public void setLabel(String label)
label
- The label (name) of the app.public void setVersion(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()
Copyright © 2022 Splunk, Inc.. All rights reserved.