Class JenkinsSourceProvider
java.lang.Object
com.axis.jenkins.plugins.eiffel.eiffelbroadcaster.JenkinsSourceProvider
- All Implemented Interfaces:
SourceProvider
Provides Eiffel event source information (the
meta.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 -
Method Summary
Modifier and TypeMethodDescriptionvoidPopulates aEiffelEvent.Meta.Sourceobject with information about the source of the event.
-
Constructor Details
-
JenkinsSourceProvider
public JenkinsSourceProvider()
-
-
Method Details
-
populateSource
Populates aEiffelEvent.Meta.Sourceobject with information about the source of the event.- Specified by:
populateSourcein interfaceSourceProvider
-