T
- type of transferpublic abstract class PutFileTransfer<T extends FileTransfer> extends AbstractProcessor
Modifier and Type | Field and Description |
---|---|
static Relationship |
REL_FAILURE |
static Relationship |
REL_REJECT |
static Relationship |
REL_SUCCESS |
Constructor and Description |
---|
PutFileTransfer() |
Modifier and Type | Method and Description |
---|---|
protected void |
afterPut(FlowFile flowFile,
ProcessContext context,
T transfer) |
protected void |
beforePut(FlowFile flowFile,
ProcessContext context,
T transfer) |
protected abstract T |
getFileTransfer(ProcessContext context) |
java.util.Set<Relationship> |
getRelationships() |
void |
onTrigger(ProcessContext context,
ProcessSession session) |
onTrigger
getControllerServiceLookup, getIdentifier, getLogger, getNodeTypeProvider, init, initialize, isConfigurationRestored, isScheduled, toString, updateConfiguredRestoredTrue, updateScheduledFalse, updateScheduledTrue
customValidate, equals, getPropertyDescriptor, getPropertyDescriptors, getSupportedDynamicPropertyDescriptor, getSupportedPropertyDescriptors, hashCode, onPropertyModified, validate
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getPropertyDescriptor, getPropertyDescriptors, onPropertyModified, validate
public static final Relationship REL_SUCCESS
public static final Relationship REL_FAILURE
public static final Relationship REL_REJECT
public java.util.Set<Relationship> getRelationships()
getRelationships
in interface Processor
getRelationships
in class AbstractSessionFactoryProcessor
protected abstract T getFileTransfer(ProcessContext context)
protected void beforePut(FlowFile flowFile, ProcessContext context, T transfer) throws java.io.IOException
java.io.IOException
protected void afterPut(FlowFile flowFile, ProcessContext context, T transfer) throws java.io.IOException
java.io.IOException
public void onTrigger(ProcessContext context, ProcessSession session)
onTrigger
in class AbstractProcessor