Package step.core.execution.model
Class InMemoryExecutionAccessor
- java.lang.Object
-
- step.core.accessors.InMemoryCRUDAccessor<Execution>
-
- step.core.execution.model.InMemoryExecutionAccessor
-
- All Implemented Interfaces:
Accessor<Execution>
,CRUDAccessor<Execution>
,ExecutionAccessor
public class InMemoryExecutionAccessor extends InMemoryCRUDAccessor<Execution> implements ExecutionAccessor
-
-
Field Summary
-
Fields inherited from class step.core.accessors.InMemoryCRUDAccessor
map
-
-
Constructor Summary
Constructors Constructor Description InMemoryExecutionAccessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
createIndexesIfNeeded(Long ttl)
Iterable<Execution>
findByCritera(Map<String,String> criteria, Date start, Date end)
Iterable<Execution>
findLastEnded(int limit)
Iterable<Execution>
findLastStarted(int limit)
List<Execution>
getActiveTests()
List<Execution>
getLastExecutionsBySchedulerTaskID(String schedulerTaskID, int limit)
List<Execution>
getTestExecutionsByArtefactURL(RepositoryObjectReference objectReference)
-
Methods inherited from class step.core.accessors.InMemoryCRUDAccessor
findByAttributes, findByAttributes, findManyByAttributes, findManyByAttributes, get, get, getAll, getRange, notImplemented, remove, save, save
-
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
findByAttributes, findByAttributes, findManyByAttributes, findManyByAttributes, get, get, getAll, getRange
-
Methods inherited from interface step.core.accessors.CRUDAccessor
remove, save, save
-
-
-
-
Method Detail
-
createIndexesIfNeeded
public void createIndexesIfNeeded(Long ttl)
- Specified by:
createIndexesIfNeeded
in interfaceExecutionAccessor
-
getActiveTests
public List<Execution> getActiveTests()
- Specified by:
getActiveTests
in interfaceExecutionAccessor
-
getTestExecutionsByArtefactURL
public List<Execution> getTestExecutionsByArtefactURL(RepositoryObjectReference objectReference)
- Specified by:
getTestExecutionsByArtefactURL
in interfaceExecutionAccessor
-
findByCritera
public Iterable<Execution> findByCritera(Map<String,String> criteria, Date start, Date end)
- Specified by:
findByCritera
in interfaceExecutionAccessor
-
findLastStarted
public Iterable<Execution> findLastStarted(int limit)
- Specified by:
findLastStarted
in interfaceExecutionAccessor
-
findLastEnded
public Iterable<Execution> findLastEnded(int limit)
- Specified by:
findLastEnded
in interfaceExecutionAccessor
-
getLastExecutionsBySchedulerTaskID
public List<Execution> getLastExecutionsBySchedulerTaskID(String schedulerTaskID, int limit)
- Specified by:
getLastExecutionsBySchedulerTaskID
in interfaceExecutionAccessor
-
-