Class GrafanaLogsBackendWithoutJenkinsVisualization
- java.lang.Object
-
- hudson.model.AbstractDescribableImpl<GrafanaLogsBackend>
-
- io.jenkins.plugins.opentelemetry.backend.grafana.GrafanaLogsBackend
-
- io.jenkins.plugins.opentelemetry.backend.grafana.GrafanaLogsBackendWithoutJenkinsVisualization
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<GrafanaLogsBackend>
,TemplateBindingsProvider
public class GrafanaLogsBackendWithoutJenkinsVisualization extends GrafanaLogsBackend implements TemplateBindingsProvider
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GrafanaLogsBackendWithoutJenkinsVisualization.DescriptorImpl
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description GrafanaLogsBackendWithoutJenkinsVisualization()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
Map<String,Object>
getBindings()
String
getGrafanaLokiDatasourceIdentifier()
int
hashCode()
LogStorageRetriever
newLogStorageRetriever(TemplateBindingsProvider templateBindingsProvider)
Returnsnull
if the backend is not capable of retrieving logs(ie theNoGrafanaLogsBackend
void
setGrafanaLokiDatasourceIdentifier(String grafanaLokiDatasourceIdentifier)
String
toString()
-
Methods inherited from class io.jenkins.plugins.opentelemetry.backend.grafana.GrafanaLogsBackend
all, getBuildLogsVisualizationMessageTemplate, getBuildLogsVisualizationUrlTemplate, getDescriptor, getOtelConfigurationProperties
-
-
-
-
Method Detail
-
getGrafanaLokiDatasourceIdentifier
public String getGrafanaLokiDatasourceIdentifier()
-
setGrafanaLokiDatasourceIdentifier
@DataBoundSetter public void setGrafanaLokiDatasourceIdentifier(String grafanaLokiDatasourceIdentifier)
-
newLogStorageRetriever
@MustBeClosed public LogStorageRetriever newLogStorageRetriever(TemplateBindingsProvider templateBindingsProvider)
Description copied from class:GrafanaLogsBackend
Returnsnull
if the backend is not capable of retrieving logs(ie theNoGrafanaLogsBackend
- Specified by:
newLogStorageRetriever
in classGrafanaLogsBackend
-
getBindings
public Map<String,Object> getBindings()
- Specified by:
getBindings
in interfaceTemplateBindingsProvider
-
-