@EventDriven @SideEffectFree @SupportsBatching @Tags(value={"binary","discard","keep"}) @InputRequirement(value=INPUT_REQUIRED) @CapabilityDescription(value="Discard byte range at the start and end or all content of a binary file.") public class ModifyBytes extends AbstractProcessor
Modifier and Type | Field and Description |
---|---|
static PropertyDescriptor |
END_OFFSET |
private List<PropertyDescriptor> |
propDescriptors |
static Relationship |
REL_SUCCESS |
private Set<Relationship> |
relationships |
static PropertyDescriptor |
REMOVE_ALL |
static PropertyDescriptor |
START_OFFSET |
Constructor and Description |
---|
ModifyBytes() |
Modifier and Type | Method and Description |
---|---|
Set<Relationship> |
getRelationships() |
protected List<PropertyDescriptor> |
getSupportedPropertyDescriptors() |
void |
onTrigger(ProcessContext context,
ProcessSession session) |
onTrigger
getControllerServiceLookup, getIdentifier, getLogger, getNodeTypeProvider, init, initialize, isConfigurationRestored, isScheduled, toString, updateConfiguredRestoredTrue, updateScheduledFalse, updateScheduledTrue
customValidate, equals, getPropertyDescriptor, getPropertyDescriptors, getSupportedDynamicPropertyDescriptor, hashCode, onPropertyModified, validate
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getPropertyDescriptor, getPropertyDescriptors, onPropertyModified, validate
public static final Relationship REL_SUCCESS
private final Set<Relationship> relationships
public static final PropertyDescriptor START_OFFSET
public static final PropertyDescriptor END_OFFSET
public static final PropertyDescriptor REMOVE_ALL
private final List<PropertyDescriptor> propDescriptors
public Set<Relationship> getRelationships()
getRelationships
in interface Processor
getRelationships
in class AbstractSessionFactoryProcessor
protected List<PropertyDescriptor> getSupportedPropertyDescriptors()
getSupportedPropertyDescriptors
in class AbstractConfigurableComponent
public void onTrigger(ProcessContext context, ProcessSession session) throws ProcessException
onTrigger
in class AbstractProcessor
ProcessException
Copyright © 2020 Apache NiFi Project. All rights reserved.