| Package | Description |
|---|---|
| io.jenkins.plugins.metrics.model.metric |
| Modifier and Type | Method and Description |
|---|---|
MetricDefinition.Scope[] |
MetricDefinition.getScopes() |
static MetricDefinition.Scope |
MetricDefinition.Scope.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MetricDefinition.Scope[] |
MetricDefinition.Scope.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
void |
MetricDefinition.setScopes(MetricDefinition.Scope[] scopes) |
boolean |
MetricDefinition.validForScope(MetricDefinition.Scope scope)
Determine if this
MetricDefinition is valid for a certain MetricDefinition.Scope. |
| Constructor and Description |
|---|
MetricDefinition(String id,
String displayName,
String description,
String reportedBy,
int priority,
MetricDefinition.Scope[] scopes)
Create a new
MetricDefinition. |
Copyright © 2016–2020. All rights reserved.