public class InventoryUtil extends Object
| Constructor and Description |
|---|
InventoryUtil() |
| Modifier and Type | Method and Description |
|---|---|
static Long |
closestForecastingHorizon(Set<org.hawkular.inventory.api.model.Relationship> relationships) |
static Metric |
convertMetric(org.hawkular.inventory.api.model.Metric metric,
Long forecastingHorizon) |
static MetricType |
convertMetricType(org.hawkular.inventory.api.model.MetricType type) |
static Long |
parseForecastingHorizon(org.hawkular.inventory.api.model.Relationship relationship) |
static Subscription.SubscriptionOwner |
parseSubscriptionOwner(org.hawkular.inventory.api.model.CanonicalPath canonicalPath) |
static Set<Subscription.SubscriptionOwner> |
predictionRelationshipsToOwners(Set<org.hawkular.inventory.api.model.Relationship> relationships) |
public static MetricType convertMetricType(org.hawkular.inventory.api.model.MetricType type)
public static Metric convertMetric(org.hawkular.inventory.api.model.Metric metric, Long forecastingHorizon)
public static Long parseForecastingHorizon(org.hawkular.inventory.api.model.Relationship relationship)
public static Set<Subscription.SubscriptionOwner> predictionRelationshipsToOwners(Set<org.hawkular.inventory.api.model.Relationship> relationships)
public static Subscription.SubscriptionOwner parseSubscriptionOwner(org.hawkular.inventory.api.model.CanonicalPath canonicalPath)
Copyright © 2015–2016 Red Hat, Inc.. All rights reserved.