public static final class MetricType.Blueprint extends Entity.Blueprint
Note that tenantId, etc., are not needed here because they are provided by the context in which the
org.hawkular.inventory.api.WriteInterface#create(org.hawkular.inventory.api.model.Blueprint) method is
called.
| Modifier and Type | Class and Description |
|---|---|
static class |
MetricType.Blueprint.Builder |
| Constructor and Description |
|---|
Blueprint(String id,
MetricUnit unit,
MetricDataType metricDataType,
Long collectionInterval) |
Blueprint(String id,
MetricUnit unit,
MetricDataType metricDataType,
Long collectionInterval,
Map<String,Object> properties,
Map<String,Set<CanonicalPath>> outgoing,
Map<String,Set<CanonicalPath>> incoming) |
Blueprint(String id,
MetricUnit unit,
MetricDataType metricDataType,
Map<String,Object> properties,
Long collectionInterval) |
Blueprint(String id,
String name,
MetricUnit unit,
MetricDataType metricDataType,
Map<String,Object> properties,
Long collectionInterval,
Map<String,Set<CanonicalPath>> outgoing,
Map<String,Set<CanonicalPath>> incoming) |
| Modifier and Type | Method and Description |
|---|---|
<R,P> R |
accept(ElementBlueprintVisitor<R,P> visitor,
P parameter) |
static MetricType.Blueprint.Builder |
builder(MetricDataType type) |
Long |
getCollectionInterval() |
MetricDataType |
getMetricDataType() |
MetricDataType |
getType()
Deprecated.
|
MetricUnit |
getUnit() |
equals, getId, getName, hashCodegetPropertiesclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetEntityTypeOf, getSegmentTypeOfpublic Blueprint(String id, MetricUnit unit, MetricDataType metricDataType, Long collectionInterval)
public Blueprint(String id, MetricUnit unit, MetricDataType metricDataType, Map<String,Object> properties, Long collectionInterval)
public Blueprint(String id, MetricUnit unit, MetricDataType metricDataType, Long collectionInterval, Map<String,Object> properties, Map<String,Set<CanonicalPath>> outgoing, Map<String,Set<CanonicalPath>> incoming)
public Blueprint(String id, String name, MetricUnit unit, MetricDataType metricDataType, Map<String,Object> properties, Long collectionInterval, Map<String,Set<CanonicalPath>> outgoing, Map<String,Set<CanonicalPath>> incoming)
public static MetricType.Blueprint.Builder builder(MetricDataType type)
public MetricUnit getUnit()
public MetricDataType getMetricDataType()
@Deprecated public MetricDataType getType()
getMetricDataType()public Long getCollectionInterval()
public <R,P> R accept(ElementBlueprintVisitor<R,P> visitor, P parameter)
Copyright © 2014–2017 Red Hat, Inc.. All rights reserved.