public class ConnectableProcessContext extends Object implements ProcessContext
Connectables that are not Processors| Modifier and Type | Field and Description |
|---|---|
private Connectable |
connectable |
private StringEncryptor |
encryptor |
private StateManager |
stateManager |
| Constructor and Description |
|---|
ConnectableProcessContext(Connectable connectable,
StringEncryptor encryptor,
StateManager stateManager) |
| Modifier and Type | Method and Description |
|---|---|
String |
decrypt(String encrypted) |
String |
encrypt(String unencrypted) |
Map<String,String> |
getAllProperties() |
String |
getAnnotationData() |
Set<Relationship> |
getAvailableRelationships() |
ControllerServiceLookup |
getControllerServiceLookup() |
ExecutionNode |
getExecutionNode() |
int |
getMaxConcurrentTasks() |
String |
getName() |
Map<PropertyDescriptor,String> |
getProperties() |
PropertyValue |
getProperty(PropertyDescriptor descriptor) |
PropertyValue |
getProperty(String propertyName) |
StateManager |
getStateManager() |
boolean |
hasConnection(Relationship relationship) |
boolean |
hasIncomingConnection() |
boolean |
hasNonLoopConnection() |
boolean |
isConnectedToCluster() |
boolean |
isExpressionLanguagePresent(PropertyDescriptor property) |
PropertyValue |
newPropertyValue(String rawValue) |
void |
yield() |
private final Connectable connectable
private final StringEncryptor encryptor
private final StateManager stateManager
public ConnectableProcessContext(Connectable connectable, StringEncryptor encryptor, StateManager stateManager)
public PropertyValue getProperty(PropertyDescriptor descriptor)
getProperty in interface PropertyContextpublic PropertyValue getProperty(String propertyName)
getProperty in interface ProcessContextpublic PropertyValue newPropertyValue(String rawValue)
newPropertyValue in interface ProcessContextpublic void yield()
yield in interface ProcessContextpublic int getMaxConcurrentTasks()
getMaxConcurrentTasks in interface ProcessContextpublic ExecutionNode getExecutionNode()
getExecutionNode in interface ProcessContextpublic String getAnnotationData()
getAnnotationData in interface ProcessContextpublic Map<String,String> getAllProperties()
getAllProperties in interface PropertyContextpublic Map<PropertyDescriptor,String> getProperties()
getProperties in interface ProcessContextpublic String decrypt(String encrypted)
decrypt in interface ProcessContextpublic String encrypt(String unencrypted)
encrypt in interface ProcessContextpublic ControllerServiceLookup getControllerServiceLookup()
getControllerServiceLookup in interface ProcessContextpublic Set<Relationship> getAvailableRelationships()
getAvailableRelationships in interface ProcessContextpublic boolean hasIncomingConnection()
hasIncomingConnection in interface ProcessContextpublic boolean hasNonLoopConnection()
hasNonLoopConnection in interface ProcessContextpublic boolean hasConnection(Relationship relationship)
hasConnection in interface ProcessContextpublic boolean isExpressionLanguagePresent(PropertyDescriptor property)
isExpressionLanguagePresent in interface ProcessContextpublic StateManager getStateManager()
getStateManager in interface ProcessContextpublic String getName()
getName in interface ProcessContextpublic boolean isConnectedToCluster()
isConnectedToCluster in interface ClusterContextCopyright © 2021 Apache NiFi Project. All rights reserved.