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 Modifier and Type Class Description static class
ElasticLogsBackend.DescriptorImpl
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description ElasticLogsBackend()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static DescriptorExtensionList<ElasticLogsBackend,Descriptor<ElasticLogsBackend>>
all()
Returns all the registeredElasticLogsBackend
descriptors.groovy.text.Template
getBuildLogsVisualizationMessageTemplate()
groovy.text.Template
getBuildLogsVisualizationUrlTemplate()
ElasticLogsBackend.DescriptorImpl
getDescriptor()
Map<String,String>
getOtelConfigurationProperties()
abstract LogStorageRetriever
newLogStorageRetriever(TemplateBindingsProvider templateBindingsProvider)
Returnsnull
if the backend is not capable of retrieving logs(ie theNoElasticLogsBackend
-
-
-
Method Detail
-
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()
-
getDescriptor
public ElasticLogsBackend.DescriptorImpl getDescriptor()
- Specified by:
getDescriptor
in interfaceDescribable<ElasticLogsBackend>
- Overrides:
getDescriptor
in classAbstractDescribableImpl<ElasticLogsBackend>
-
all
public static DescriptorExtensionList<ElasticLogsBackend,Descriptor<ElasticLogsBackend>> all()
Returns all the registeredElasticLogsBackend
descriptors.
-
-