| Package | Description |
|---|---|
| org.modeshape.schematic |
| Modifier and Type | Method and Description |
|---|---|
static SchematicEntry |
SchematicEntry.create(String id)
Creates a new empty entry with the given id.
|
static SchematicEntry |
SchematicEntry.create(String id,
Document content)
Creates a new entry with the given content.
|
static SchematicEntry |
SchematicEntry.fromDocument(Document entryDocument)
Creates a new schematic entry instance based on the given document.
|
default SchematicEntry |
SchematicDb.getEntry(String key)
Get the entry with the supplied key.
|
SchematicEntry |
SchematicDb.putIfAbsent(String key,
Document content)
Store the supplied content at the given key.
|
| Modifier and Type | Method and Description |
|---|---|
List<SchematicEntry> |
SchematicDb.load(Collection<String> keys)
Loads a set of documents from the DB returning the corresponding schematic entries.
|
| Modifier and Type | Method and Description |
|---|---|
void |
SchematicDb.put(String key,
SchematicEntry entry)
Stores the supplied schematic entry under the given key.
|
Copyright © 2008–2021 JBoss, a division of Red Hat. All rights reserved.