Package org.apache.nifi.util
Class MockPropertyConfiguration
java.lang.Object
org.apache.nifi.util.MockPropertyConfiguration
- All Implemented Interfaces:
PropertyConfiguration
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final record
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Set
<MockPropertyConfiguration.CreatedControllerService> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateControllerService
(String implementationClassName, Map<String, String> serviceProperties) getPropertyValue
(String propertyName) getRawPropertyValue
(String propertyName) boolean
hasProperty
(String propertyName) boolean
isPropertySet
(String propertyName) boolean
removeProperty
(String propertyName) boolean
renameProperty
(String propertyName, String newName) void
setProperty
(String propertyName, String propertyValue) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.nifi.migration.PropertyConfiguration
getPropertyValue, getRawPropertyValue, hasProperty, isPropertySet, setProperty
-
Field Details
-
propertyRenames
-
propertiesRemoved
-
propertiesUpdated
-
rawProperties
-
createdControllerServices
-
-
Constructor Details
-
MockPropertyConfiguration
-
-
Method Details
-
toPropertyMigrationResult
-
renameProperty
- Specified by:
renameProperty
in interfacePropertyConfiguration
-
removeProperty
- Specified by:
removeProperty
in interfacePropertyConfiguration
-
hasProperty
- Specified by:
hasProperty
in interfacePropertyConfiguration
-
isPropertySet
- Specified by:
isPropertySet
in interfacePropertyConfiguration
-
setProperty
- Specified by:
setProperty
in interfacePropertyConfiguration
-
getPropertyValue
- Specified by:
getPropertyValue
in interfacePropertyConfiguration
-
getRawPropertyValue
- Specified by:
getRawPropertyValue
in interfacePropertyConfiguration
-
getProperties
- Specified by:
getProperties
in interfacePropertyConfiguration
-
getRawProperties
- Specified by:
getRawProperties
in interfacePropertyConfiguration
-
createControllerService
public String createControllerService(String implementationClassName, Map<String, String> serviceProperties) - Specified by:
createControllerService
in interfacePropertyConfiguration
-