Package step.core.execution.model
Class ExecutionAccessorImpl
java.lang.Object
step.core.accessors.AbstractAccessor<Execution>
step.core.execution.model.ExecutionAccessorImpl
- All Implemented Interfaces:
step.core.accessors.Accessor<Execution>
,ExecutionAccessor
- Direct Known Subclasses:
InMemoryExecutionAccessor
,RemoteExecutionAccessor
public class ExecutionAccessorImpl
extends step.core.accessors.AbstractAccessor<Execution>
implements ExecutionAccessor
-
Field Summary
Fields inherited from class step.core.accessors.AbstractAccessor
collectionDriver, newVersionThresholdMs, versionedCollectionDriver
-
Constructor Summary
ConstructorDescriptionExecutionAccessorImpl
(step.core.collections.Collection<Execution> collectionDriver) -
Method Summary
Modifier and TypeMethodDescriptionvoid
findByCritera
(Map<String, String> criteria, long start, long end, step.core.collections.SearchOrder order, int skip, int limit) findByCritera
(Map<String, String> criteria, Date start, Date end, step.core.collections.SearchOrder order) findInInterval
(Map<String, String> criteria, Date start, Date end, boolean endedOnly, step.core.collections.SearchOrder order) findLastEnded
(int limit) findLastStarted
(int limit) getLastEndedExecutionsBySchedulerTaskID
(String schedulerTaskID, int limit) getTestExecutionsByArtefactURL
(RepositoryObjectReference objectReference) Methods inherited from class step.core.accessors.AbstractAccessor
createOrUpdateCompoundIndex, createOrUpdateIndex, enableVersioning, findByAttributes, findByAttributes, findByCriteria, findManyByAttributes, findManyByAttributes, findManyByCriteria, get, get, getAll, getCollectionDriver, getHistory, getRange, isVersioningEnabled, remove, restoreVersion, save, save, stream, streamLazy
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface step.core.accessors.Accessor
enableVersioning, findByAttributes, findByAttributes, findByCriteria, findManyByAttributes, findManyByAttributes, findManyByCriteria, get, get, getAll, getCollectionDriver, getHistory, getRange, isVersioningEnabled, remove, restoreVersion, save, save, stream, streamLazy
-
Constructor Details
-
ExecutionAccessorImpl
-
-
Method Details
-
createIndexesIfNeeded
- Specified by:
createIndexesIfNeeded
in interfaceExecutionAccessor
-
getActiveTests
- Specified by:
getActiveTests
in interfaceExecutionAccessor
-
getTestExecutionsByArtefactURL
- Specified by:
getTestExecutionsByArtefactURL
in interfaceExecutionAccessor
-
findByCritera
-
findByCritera
- Specified by:
findByCritera
in interfaceExecutionAccessor
-
findByCritera
public Iterable<Execution> findByCritera(Map<String, String> criteria, Date start, Date end, step.core.collections.SearchOrder order) - Specified by:
findByCritera
in interfaceExecutionAccessor
-
findInInterval
public Iterable<Execution> findInInterval(Map<String, String> criteria, Date start, Date end, boolean endedOnly, step.core.collections.SearchOrder order) - Specified by:
findInInterval
in interfaceExecutionAccessor
-
findLastStarted
- Specified by:
findLastStarted
in interfaceExecutionAccessor
-
findLastEnded
- Specified by:
findLastEnded
in interfaceExecutionAccessor
-
getLastEndedExecutionsBySchedulerTaskID
- Specified by:
getLastEndedExecutionsBySchedulerTaskID
in interfaceExecutionAccessor
-