@Deprecated @DeprecationNotice(classNames="org.apache.nifi.processors.standard.CryptographicHashContent", reason="This processor is deprecated and may be removed in future releases.") @EventDriven @SupportsBatching @InputRequirement(value=INPUT_REQUIRED) @Tags(value={"hash","content","MD5","SHA-1","SHA-256"}) @CapabilityDescription(value="Calculates a hash value for the Content of a FlowFile and puts that hash value on the FlowFile as an attribute whose name is determined by the <Hash Attribute Name> property. This processor did not provide a consistent offering of hash algorithms, and is now deprecated. For modern cryptographic hashing capabilities, see \"CryptographicHashContent\". ") @WritesAttribute(attribute="<Hash Attribute Name>", description="This Processor adds an attribute whose value is the result of Hashing the existing FlowFile content. The name of this attribute is specified by the <Hash Attribute Name> property") public class HashContent extends AbstractProcessor
Modifier and Type | Field and Description |
---|---|
static PropertyDescriptor |
ATTRIBUTE_NAME
Deprecated.
|
static PropertyDescriptor |
HASH_ALGORITHM
Deprecated.
|
private List<PropertyDescriptor> |
properties
Deprecated.
|
static Relationship |
REL_FAILURE
Deprecated.
|
static Relationship |
REL_SUCCESS
Deprecated.
|
private Set<Relationship> |
relationships
Deprecated.
|
Constructor and Description |
---|
HashContent()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Set<Relationship> |
getRelationships()
Deprecated.
|
protected List<PropertyDescriptor> |
getSupportedPropertyDescriptors()
Deprecated.
|
protected void |
init(ProcessorInitializationContext context)
Deprecated.
|
void |
onTrigger(ProcessContext context,
ProcessSession session)
Deprecated.
|
onTrigger
getControllerServiceLookup, getIdentifier, getLogger, getNodeTypeProvider, 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 PropertyDescriptor ATTRIBUTE_NAME
public static final PropertyDescriptor HASH_ALGORITHM
public static final Relationship REL_SUCCESS
public static final Relationship REL_FAILURE
private List<PropertyDescriptor> properties
private Set<Relationship> relationships
protected void init(ProcessorInitializationContext context)
init
in class AbstractSessionFactoryProcessor
protected List<PropertyDescriptor> getSupportedPropertyDescriptors()
getSupportedPropertyDescriptors
in class AbstractConfigurableComponent
public Set<Relationship> getRelationships()
getRelationships
in interface Processor
getRelationships
in class AbstractSessionFactoryProcessor
public void onTrigger(ProcessContext context, ProcessSession session) throws ProcessException
onTrigger
in class AbstractProcessor
ProcessException
Copyright © 2020 Apache NiFi Project. All rights reserved.