Class WriteLifecycleEvents
java.lang.Object
org.apache.nifi.components.AbstractConfigurableComponent
org.apache.nifi.processor.AbstractSessionFactoryProcessor
org.apache.nifi.processor.AbstractProcessor
org.apache.nifi.processors.tests.system.WriteLifecycleEvents
- All Implemented Interfaces:
ConfigurableComponent,Processor
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) static final PropertyDescriptor(package private) static final Relationship -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected List<PropertyDescriptor> voidonScheduled(ProcessContext context) voidonStopped(ProcessContext context) voidonTrigger(ProcessContext context, ProcessSession session) voidonUnscheduled(ProcessContext context) private voidwriteEvent(ProcessContext context, String event) Methods inherited from class org.apache.nifi.processor.AbstractProcessor
onTriggerMethods inherited from class org.apache.nifi.processor.AbstractSessionFactoryProcessor
getControllerServiceLookup, getIdentifier, getLogger, getNodeTypeProvider, init, initialize, isConfigurationRestored, isScheduled, toString, updateConfiguredRestoredTrue, updateScheduledFalse, updateScheduledTrueMethods inherited from class org.apache.nifi.components.AbstractConfigurableComponent
customValidate, equals, getPropertyDescriptor, getPropertyDescriptors, getSupportedDynamicPropertyDescriptor, hashCode, onPropertyModified, validateMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.nifi.components.ConfigurableComponent
getPropertyDescriptor, getPropertyDescriptors, onPropertyModified, validateMethods inherited from interface org.apache.nifi.processor.Processor
isStateful, migrateProperties, migrateRelationships
-
Field Details
-
EVENT_FILE
-
REL_SUCCESS
-
-
Constructor Details
-
WriteLifecycleEvents
public WriteLifecycleEvents()
-
-
Method Details
-
getSupportedPropertyDescriptors
- Overrides:
getSupportedPropertyDescriptorsin classAbstractConfigurableComponent
-
getRelationships
- Specified by:
getRelationshipsin interfaceProcessor- Overrides:
getRelationshipsin classAbstractSessionFactoryProcessor
-
onScheduled
- Throws:
IOException
-
onUnscheduled
- Throws:
IOException
-
onStopped
- Throws:
IOException
-
onTrigger
- Specified by:
onTriggerin classAbstractProcessor- Throws:
ProcessException
-
writeEvent
- Throws:
IOException
-