Search in sources :

Example 26 with ReportingTaskNode

use of org.apache.nifi.controller.ReportingTaskNode in project nifi by apache.

the class StandardReportingTaskDAO method clearState.

@Override
public void clearState(String reportingTaskId) {
    final ReportingTaskNode reportingTask = locateReportingTask(reportingTaskId);
    componentStateDAO.clearState(reportingTask);
}
Also used : ReportingTaskNode(org.apache.nifi.controller.ReportingTaskNode)

Example 27 with ReportingTaskNode

use of org.apache.nifi.controller.ReportingTaskNode in project nifi by apache.

the class StandardReportingTaskDAO method verifyUpdate.

@Override
public void verifyUpdate(final ReportingTaskDTO reportingTaskDTO) {
    final ReportingTaskNode reportingTask = locateReportingTask(reportingTaskDTO.getId());
    verifyUpdate(reportingTask, reportingTaskDTO);
}
Also used : ReportingTaskNode(org.apache.nifi.controller.ReportingTaskNode)

Aggregations

ReportingTaskNode (org.apache.nifi.controller.ReportingTaskNode)27 ProcessorNode (org.apache.nifi.controller.ProcessorNode)11 HashSet (java.util.HashSet)9 ArrayList (java.util.ArrayList)8 PropertyDescriptor (org.apache.nifi.components.PropertyDescriptor)8 ControllerServiceNode (org.apache.nifi.controller.service.ControllerServiceNode)8 Date (java.util.Date)7 Action (org.apache.nifi.action.Action)7 FlowChangeAction (org.apache.nifi.action.FlowChangeAction)7 ConfiguredComponent (org.apache.nifi.controller.ConfiguredComponent)7 HashMap (java.util.HashMap)6 Map (java.util.Map)6 StateMap (org.apache.nifi.components.state.StateMap)6 Arrays (java.util.Arrays)5 Collection (java.util.Collection)5 Collections (java.util.Collections)5 Comparator (java.util.Comparator)5 LinkedHashMap (java.util.LinkedHashMap)5 List (java.util.List)5 Set (java.util.Set)5