Class JenkinsSourceProvider
- java.lang.Object
-
- com.axis.jenkins.plugins.eiffel.eiffelbroadcaster.JenkinsSourceProvider
-
- All Implemented Interfaces:
SourceProvider
public class JenkinsSourceProvider extends Object implements SourceProvider
Provides Eiffel event source information (themeta.source
member of all events) for a Jenkins plugin. Computes values during initialization and reuses them for all subsequent events, except for the hostname whose resolution might fail. We periodically retry resolving the hostname so that an initial failure caused by a transient DNS outage doesn't cause the hostname field to be left empty forever.
-
-
Constructor Summary
Constructors Constructor Description JenkinsSourceProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
populateSource(EiffelEvent.Meta.Source source)
Populates aEiffelEvent.Meta.Source
object with information about the source of the event.
-
-
-
Method Detail
-
populateSource
public void populateSource(@NonNull EiffelEvent.Meta.Source source)
Populates aEiffelEvent.Meta.Source
object with information about the source of the event.- Specified by:
populateSource
in interfaceSourceProvider
-
-