public class MockPropertyContext extends Object implements PropertyContext
Modifier and Type | Field and Description |
---|---|
private Map<PropertyDescriptor,String> |
properties |
Constructor and Description |
---|
MockPropertyContext(Map<PropertyDescriptor,String> properties) |
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
getAllProperties() |
PropertyValue |
getProperty(PropertyDescriptor property) |
private final Map<PropertyDescriptor,String> properties
public MockPropertyContext(Map<PropertyDescriptor,String> properties)
public PropertyValue getProperty(PropertyDescriptor property)
getProperty
in interface PropertyContext
public Map<String,String> getAllProperties()
getAllProperties
in interface PropertyContext
Copyright © 2021 Apache NiFi Project. All rights reserved.