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 ClassesNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionall()Returns all the registeredElasticLogsBackenddescriptors.groovy.text.Templategroovy.text.Templateabstract LogStorageRetrievernewLogStorageRetriever(TemplateBindingsProvider templateBindingsProvider) Returnsnullif 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) Returnsnullif 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:
getDescriptorin interfaceDescribable<ElasticLogsBackend>- Overrides:
getDescriptorin classAbstractDescribableImpl<ElasticLogsBackend>
-
all
Returns all the registeredElasticLogsBackenddescriptors.
-