| Package | Description |
|---|---|
| org.hawkular.inventory.api | |
| org.hawkular.inventory.api.model | |
| org.hawkular.inventory.base | |
| org.hawkular.inventory.base.spi |
| Modifier and Type | Method and Description |
|---|---|
StructuredData |
Data.Single.data(RelativePath dataPath)
Returns the data on the path relative to the entity.
|
StructuredData |
EmptyInventory.DatasSingle.data(RelativePath dataPath) |
StructuredData |
Data.Single.flatData(RelativePath dataPath)
This is very similar to
Data.Single.data(RelativePath) but this method doesn't load the child data. |
StructuredData |
EmptyInventory.DatasSingle.flatData(RelativePath dataPath) |
| Modifier and Type | Method and Description |
|---|---|
Page<StructuredData> |
Data.Multiple.data(RelativePath dataPath,
Pager pager)
Similar to
Data.Single.data(RelativePath), only resolved over multiple entities. |
Page<StructuredData> |
EmptyInventory.DatasMultiple.data(RelativePath dataPath,
Pager pager) |
Page<StructuredData> |
Data.Multiple.flatData(RelativePath dataPath,
Pager pager)
Similar to
Data.Single.flatData(RelativePath), only resolved over multiple entities. |
Page<StructuredData> |
EmptyInventory.DatasMultiple.flatData(RelativePath dataPath,
Pager pager) |
| Modifier and Type | Field and Description |
|---|---|
protected ArrayList<StructuredData> |
StructuredData.AbstractListBuilder.list |
protected ArrayList<StructuredData> |
StructuredData.AbstractListUpdater.list |
protected LinkedHashMap<String,StructuredData> |
StructuredData.AbstractMapBuilder.map |
| Modifier and Type | Method and Description |
|---|---|
StructuredData |
StructuredData.Builder.bool(Boolean value) |
StructuredData |
StructuredData.ListBuilder.build() |
StructuredData |
StructuredData.MapBuilder.build() |
StructuredData |
StructuredData.ListUpdater.build() |
StructuredData |
StructuredData.MapUpdater.build() |
StructuredData |
StructuredData.Builder.floatingPoint(Double value) |
StructuredData |
DataEntity.getValue() |
StructuredData |
DataEntity.Blueprint.getValue() |
StructuredData |
DataEntity.Update.getValue() |
StructuredData |
StructuredData.Builder.integral(Long value) |
StructuredData |
StructuredData.Builder.string(String value) |
StructuredData |
StructuredData.Updater.toBool(boolean value) |
StructuredData |
StructuredData.Updater.toFloatingPoint(double value) |
StructuredData |
StructuredData.Updater.toIntegral(long value) |
StructuredData |
StructuredData.Updater.toString(String value) |
StructuredData |
StructuredData.Updater.toUndefined() |
StructuredData |
StructuredData.Builder.undefined() |
| Modifier and Type | Method and Description |
|---|---|
List<StructuredData> |
StructuredData.list() |
Map<String,StructuredData> |
StructuredData.map() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
StructuredData.AbstractListBuilder.apply(Object context,
StructuredData value) |
protected void |
StructuredData.AbstractMapBuilder.apply(Object context,
StructuredData value) |
protected void |
StructuredData.AbstractListUpdater.apply(Object context,
StructuredData value) |
DataEntity.Blueprint.Builder<R> |
DataEntity.Blueprint.Builder.withValue(StructuredData value) |
DataEntity.Update.Builder |
DataEntity.Update.Builder.withValue(StructuredData value) |
| Modifier and Type | Method and Description |
|---|---|
static <R,P> StructuredData.Visitor<R,P> |
StructuredData.Visitor.list(BiFunction<List<StructuredData>,P,R> handler) |
static <R,P> StructuredData.Visitor<R,P> |
StructuredData.Visitor.map(BiFunction<Map<String,StructuredData>,P,R> handler) |
R |
StructuredData.Visitor.visitList(List<StructuredData> value,
P parameter) |
R |
StructuredData.Visitor.Simple.visitList(List<StructuredData> value,
P parameter) |
R |
StructuredData.Visitor.visitMap(Map<String,StructuredData> value,
P parameter) |
R |
StructuredData.Visitor.Simple.visitMap(Map<String,StructuredData> value,
P parameter) |
| Constructor and Description |
|---|
Blueprint(DataRole role,
StructuredData value,
Map<String,Object> properties) |
DataEntity(CanonicalPath owner,
DataEntity.Role role,
StructuredData value) |
DataEntity(CanonicalPath owner,
DataEntity.Role role,
StructuredData value,
Map<String,Object> properties) |
DataEntity(CanonicalPath path,
StructuredData value,
Map<String,Object> properties) |
Update(StructuredData value,
Map<String,Object> properties) |
| Constructor and Description |
|---|
InnerListUpdater(ArrayList<StructuredData> list,
Parent parent,
Object context) |
InnerMapUpdater(LinkedHashMap<String,StructuredData> map,
Parent parent,
Object context) |
ListUpdater(ArrayList<StructuredData> list) |
MapUpdater(LinkedHashMap<String,StructuredData> map) |
| Modifier and Type | Method and Description |
|---|---|
StructuredData |
BaseData.Single.data(RelativePath dataPath) |
StructuredData |
BaseData.Single.flatData(RelativePath dataPath) |
| Modifier and Type | Method and Description |
|---|---|
Page<StructuredData> |
BaseData.Multiple.data(RelativePath dataPath,
Pager pager) |
Page<StructuredData> |
BaseData.Multiple.flatData(RelativePath dataPath,
Pager pager) |
| Modifier and Type | Method and Description |
|---|---|
static <BE> void |
BaseData.Validator.validate(TraversalContext<BE,DataEntity> context,
StructuredData data,
BE dataEntity) |
| Modifier and Type | Method and Description |
|---|---|
StructuredData |
ShallowStructuredData.getData() |
| Modifier and Type | Method and Description |
|---|---|
E |
InventoryBackend.persist(StructuredData structuredData)
Persists the structured data and returns a reference to it.
|
| Constructor and Description |
|---|
ShallowStructuredData(StructuredData data) |
Copyright © 2015 Red Hat, Inc.. All rights reserved.