public class CortexMetricsNotifier extends Notifier
| Modifier and Type | Class and Description |
|---|---|
static class |
CortexMetricsNotifier.CortexMetricsNotifierDescriptor
Descriptor.
|
Publisher.DescriptorExtensionListImplExtensionPoint.LegacyInstancesAreScopedToHudsonBuildStep.PublisherListBUILDERS, PUBLISHERS| Constructor and Description |
|---|
CortexMetricsNotifier() |
| Modifier and Type | Method and Description |
|---|---|
Secret |
getBearerToken() |
Map<String,String> |
getLabels() |
String |
getNamespace() |
BuildStepMonitor |
getRequiredMonitorService() |
String |
getUrl() |
boolean |
perform(AbstractBuild<?,?> build,
Launcher launcher,
BuildListener listener) |
void |
setBearerToken(Secret bearerToken) |
void |
setLabels(Map<String,String> labels) |
void |
setNamespace(String namespace) |
void |
setUrl(String url) |
getDescriptorall, getProjectAction, needsToRunAfterFinalized, prebuildgetProjectAction, getProjectActions, perform, prebuildpublic BuildStepMonitor getRequiredMonitorService()
public String getUrl()
@DataBoundSetter public void setUrl(String url)
public Secret getBearerToken()
@DataBoundSetter public void setBearerToken(Secret bearerToken)
public String getNamespace()
@DataBoundSetter public void setNamespace(String namespace)
public boolean perform(AbstractBuild<?,?> build, Launcher launcher, BuildListener listener) throws InterruptedException, IOException
perform in interface BuildStepperform in class BuildStepCompatibilityLayerInterruptedExceptionIOExceptionCopyright © 2016–2021. All rights reserved.