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
ConstructorsConstructorDescriptionExecutionAccessorImpl(step.core.collections.Collection<Execution> collectionDriver) -
Method Summary
Modifier and TypeMethodDescriptionvoidfindByCritera(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, streamLazyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
createIndexesIfNeededin interfaceExecutionAccessor
-
getActiveTests
- Specified by:
getActiveTestsin interfaceExecutionAccessor
-
getTestExecutionsByArtefactURL
- Specified by:
getTestExecutionsByArtefactURLin interfaceExecutionAccessor
-
findByCritera
-
findByCritera
- Specified by:
findByCriterain interfaceExecutionAccessor
-
findByCritera
public Iterable<Execution> findByCritera(Map<String, String> criteria, Date start, Date end, step.core.collections.SearchOrder order) - Specified by:
findByCriterain interfaceExecutionAccessor
-
findInInterval
public Iterable<Execution> findInInterval(Map<String, String> criteria, Date start, Date end, boolean endedOnly, step.core.collections.SearchOrder order) - Specified by:
findInIntervalin interfaceExecutionAccessor
-
findLastStarted
- Specified by:
findLastStartedin interfaceExecutionAccessor
-
findLastEnded
- Specified by:
findLastEndedin interfaceExecutionAccessor
-
getLastEndedExecutionsBySchedulerTaskID
- Specified by:
getLastEndedExecutionsBySchedulerTaskIDin interfaceExecutionAccessor
-