public class MockVariableRegistry extends Object implements VariableRegistry
Modifier and Type | Field and Description |
---|---|
private Map<VariableDescriptor,String> |
variables |
EMPTY_REGISTRY, ENVIRONMENT_SYSTEM_REGISTRY
Constructor and Description |
---|
MockVariableRegistry() |
Modifier and Type | Method and Description |
---|---|
Map<VariableDescriptor,String> |
getVariableMap() |
String |
removeVariable(VariableDescriptor descriptor) |
void |
setVariable(VariableDescriptor descriptor,
String value) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getVariableKey, getVariableValue, getVariableValue
private final Map<VariableDescriptor,String> variables
public Map<VariableDescriptor,String> getVariableMap()
getVariableMap
in interface VariableRegistry
public void setVariable(VariableDescriptor descriptor, String value)
public String removeVariable(VariableDescriptor descriptor)
Copyright © 2021 Apache NiFi Project. All rights reserved.