public class ConfCollection extends ResourceCollection<EntityCollection<Entity>>
ConfCollection
class represents a collection of configuration
files.itemClass, items
Modifier and Type | Method and Description |
---|---|
EntityCollection<Entity> |
create(String name)
Creates a new stanza in the current configuration file.
|
EntityCollection<Entity> |
create(String name,
Map args)
Creates a new stanza in the current configuration file with attributes.
|
protected String |
itemPath(AtomEntry entry)
Returns the endpoint path for this configuration stanza.
|
clear, containsKey, containsKey, containsValue, createItem, createItem, entrySet, equals, get, get, hashCode, isEmpty, itemKey, keySet, list, put, putAll, refresh, remove, size, validate, values, valueSize
getName, getPath, getService, getTitle, getUpdated, invalidate
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public EntityCollection<Entity> create(String name)
name
- The name of the stanza to create.public EntityCollection<Entity> create(String name, Map args)
name
- The name of the stanza to create.args
- Optional. A set of attributes as key-value pairs to put in
the new stanza.protected String itemPath(AtomEntry entry)
itemPath
in class ResourceCollection<EntityCollection<Entity>>
entry
- The AtomEntry
representation of this entry.Copyright © 2022 Splunk, Inc.. All rights reserved.