Class ElasticLogsBackend
java.lang.Object
hudson.model.AbstractDescribableImpl<ElasticLogsBackend>
io.jenkins.plugins.opentelemetry.backend.elastic.ElasticLogsBackend
- All Implemented Interfaces:
ExtensionPoint
,Describable<ElasticLogsBackend>
- Direct Known Subclasses:
ElasticLogsBackendWithJenkinsVisualization
,ElasticLogsBackendWithoutJenkinsVisualization
,NoElasticLogsBackend
public abstract class ElasticLogsBackend
extends AbstractDescribableImpl<ElasticLogsBackend>
implements ExtensionPoint
-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionall()
Returns all the registeredElasticLogsBackend
descriptors.groovy.text.Template
groovy.text.Template
abstract LogStorageRetriever
newLogStorageRetriever
(TemplateBindingsProvider templateBindingsProvider) Returnsnull
if the backend is not capable of retrieving logs(ie theNoElasticLogsBackend
-
Constructor Details
-
ElasticLogsBackend
public ElasticLogsBackend()
-
-
Method Details
-
newLogStorageRetriever
@CheckForNull @MustBeClosed public abstract LogStorageRetriever newLogStorageRetriever(TemplateBindingsProvider templateBindingsProvider) Returnsnull
if the backend is not capable of retrieving logs(ie theNoElasticLogsBackend
-
getBuildLogsVisualizationMessageTemplate
public groovy.text.Template getBuildLogsVisualizationMessageTemplate() -
getBuildLogsVisualizationUrlTemplate
public groovy.text.Template getBuildLogsVisualizationUrlTemplate() -
getOtelConfigurationProperties
-
getDescriptor
- Specified by:
getDescriptor
in interfaceDescribable<ElasticLogsBackend>
- Overrides:
getDescriptor
in classAbstractDescribableImpl<ElasticLogsBackend>
-
all
Returns all the registeredElasticLogsBackend
descriptors.
-