public class ProcessorAuditor extends NiFiAuditor
| Modifier and Type | Field and Description |
|---|---|
private static String |
ANNOTATION_DATA |
private static String |
AUTO_TERMINATED_RELATIONSHIPS |
private static String |
BULLETIN_LEVEL |
private static String |
COMMENTS |
private static String |
CONCURRENTLY_SCHEDULABLE_TASKS |
private static org.slf4j.Logger |
logger |
private static String |
NAME |
private static String |
PENALTY_DURATION |
private static String |
SCHEDULING_PERIOD |
private static String |
SCHEDULING_STRATEGY |
private static String |
YIELD_DURATION |
| Constructor and Description |
|---|
ProcessorAuditor() |
| Modifier and Type | Method and Description |
|---|---|
ProcessorNode |
createProcessorAdvice(org.aspectj.lang.ProceedingJoinPoint proceedingJoinPoint)
Audits the creation of processors via createProcessor().
|
private Map<String,String> |
extractConfiguredPropertyValues(ProcessorNode processor,
ProcessorDTO processorDTO)
Extracts the values for the configured properties from the specified
Processor.
|
Action |
generateAuditRecord(ProcessorNode processor,
Operation operation)
Generates an audit record for the creation of a processor.
|
Action |
generateAuditRecord(ProcessorNode processor,
Operation operation,
ActionDetails actionDetails)
Generates an audit record for the creation of a processor.
|
private PropertyDescriptor |
locatePropertyDescriptor(Set<PropertyDescriptor> propertyDescriptors,
PropertyDescriptor specDescriptor)
Locates the actual property descriptor for the given spec property
descriptor.
|
void |
removeProcessorAdvice(org.aspectj.lang.ProceedingJoinPoint proceedingJoinPoint,
String groupId,
String processorId,
ProcessorDAO processorDAO)
Audits the removal of a processor via deleteProcessor().
|
Object |
updateProcessorAdvice(org.aspectj.lang.ProceedingJoinPoint proceedingJoinPoint,
String groupId,
ProcessorDTO processorDTO,
ProcessorDAO processorDAO)
Audits the configuration of a single processor.
|
createMoveDetails, getProcessGroupDAO, saveAction, saveActions, setAuditService, setProcessGroupDAO, setServiceFacadeprivate static final org.slf4j.Logger logger
private static final String COMMENTS
private static final String PENALTY_DURATION
private static final String YIELD_DURATION
private static final String CONCURRENTLY_SCHEDULABLE_TASKS
private static final String NAME
private static final String BULLETIN_LEVEL
private static final String ANNOTATION_DATA
private static final String AUTO_TERMINATED_RELATIONSHIPS
private static final String SCHEDULING_PERIOD
private static final String SCHEDULING_STRATEGY
public ProcessorNode createProcessorAdvice(org.aspectj.lang.ProceedingJoinPoint proceedingJoinPoint) throws Throwable
processor - Throwablepublic Object updateProcessorAdvice(org.aspectj.lang.ProceedingJoinPoint proceedingJoinPoint, String groupId, ProcessorDTO processorDTO, ProcessorDAO processorDAO) throws Throwable
proceedingJoinPoint - processorDTO - processorDAO - Throwablepublic void removeProcessorAdvice(org.aspectj.lang.ProceedingJoinPoint proceedingJoinPoint,
String groupId,
String processorId,
ProcessorDAO processorDAO)
throws Throwable
proceedingJoinPoint - processorId - processorDAO - Throwablepublic Action generateAuditRecord(ProcessorNode processor, Operation operation)
processor - operation - public Action generateAuditRecord(ProcessorNode processor, Operation operation, ActionDetails actionDetails)
processor - operation - private Map<String,String> extractConfiguredPropertyValues(ProcessorNode processor, ProcessorDTO processorDTO)
processor - processorDTO - private PropertyDescriptor locatePropertyDescriptor(Set<PropertyDescriptor> propertyDescriptors, PropertyDescriptor specDescriptor)
propertyDescriptors - specDescriptor - Copyright © 2015 Apache NiFi (incubating). All rights reserved.