Package step.core.artefacts.reports
Interface ReportNodeAccessor
-
- All Superinterfaces:
Accessor<ReportNode>
,CRUDAccessor<ReportNode>
,ReportTreeAccessor
- All Known Implementing Classes:
InMemoryReportNodeAccessor
,ReportNodeAccessorImpl
public interface ReportNodeAccessor extends CRUDAccessor<ReportNode>, ReportTreeAccessor
-
-
Method Summary
-
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
-
Methods inherited from interface step.core.artefacts.reports.ReportTreeAccessor
get
-
-
-
-
Method Detail
-
createIndexesIfNeeded
void createIndexesIfNeeded(Long ttl)
-
getReportNodePath
List<ReportNode> getReportNodePath(org.bson.types.ObjectId id)
-
getChildren
Iterator<ReportNode> getChildren(org.bson.types.ObjectId parentID)
-
getChildren
Iterator<ReportNode> getChildren(org.bson.types.ObjectId parentID, int skip, int limit)
-
getReportNodesByExecutionID
Iterator<ReportNode> getReportNodesByExecutionID(String executionID)
-
countReportNodesByExecutionID
long countReportNodesByExecutionID(String executionID)
-
getReportNodesByExecutionIDAndClass
Iterator<ReportNode> getReportNodesByExecutionIDAndClass(String executionID, String class_)
-
getLeafReportNodesByExecutionID
Iterator<ReportNode> getLeafReportNodesByExecutionID(String executionID)
-
getReportNodesByExecutionIDAndCustomAttribute
Iterator<ReportNode> getReportNodesByExecutionIDAndCustomAttribute(String executionID, List<Map<String,String>> customAttributes)
-
getReportNodeByParentIDAndArtefactID
ReportNode getReportNodeByParentIDAndArtefactID(org.bson.types.ObjectId parentID, org.bson.types.ObjectId artefactID)
-
getReportNodesByExecutionIDAndArtefactID
Iterator<ReportNode> getReportNodesByExecutionIDAndArtefactID(String executionID, String artefactID)
-
getFailedLeafReportNodesByExecutionID
Iterator<ReportNode> getFailedLeafReportNodesByExecutionID(String executionID)
-
getRootReportNode
ReportNode getRootReportNode(String executionID)
-
getLeafReportNodesStatusDistribution
Map<ReportNodeStatus,Integer> getLeafReportNodesStatusDistribution(String executionID, String reportNodeClass)
-
getChildren
Iterator<ReportNode> getChildren(String parentID)
Description copied from interface:ReportTreeAccessor
Returns the list of children of the ReportNode- Specified by:
getChildren
in interfaceReportTreeAccessor
- Parameters:
parentID
- the ID of the parent ReportNode- Returns:
- an Iterator of the list of children
-
removeNodesByExecutionID
void removeNodesByExecutionID(String executionID)
-
-