Package org.ossreviewtoolkit.model
Class AdvisorRun
-
- All Implemented Interfaces:
public final class AdvisorRunThe summary of a single run of the advisor.
-
-
Field Summary
Fields Modifier and Type Field Description private final InstantstartTimeprivate final InstantendTimeprivate final Environmentenvironmentprivate final AdvisorConfigurationconfigprivate final AdvisorRecordresults
-
Constructor Summary
Constructors Constructor Description AdvisorRun(Instant startTime, Instant endTime, Environment environment, AdvisorConfiguration config, AdvisorRecord results)
-
Method Summary
Modifier and Type Method Description final InstantgetStartTime()The Instant the advisor was started. final InstantgetEndTime()The Instant the advisor has finished. final EnvironmentgetEnvironment()The Environment in which the advisor was executed. final AdvisorConfigurationgetConfig()The AdvisorConfiguration used for this run. final AdvisorRecordgetResults()The result of this run. -
-
Constructor Detail
-
AdvisorRun
AdvisorRun(Instant startTime, Instant endTime, Environment environment, AdvisorConfiguration config, AdvisorRecord results)
-
-
Method Detail
-
getStartTime
final Instant getStartTime()
The Instant the advisor was started.
-
getEndTime
final Instant getEndTime()
The Instant the advisor has finished.
-
getEnvironment
final Environment getEnvironment()
The Environment in which the advisor was executed.
-
getConfig
final AdvisorConfiguration getConfig()
The AdvisorConfiguration used for this run.
-
getResults
final AdvisorRecord getResults()
The result of this run.
-
-
-
-