Package org.apache.nifi.util
Class MockPropertyConfiguration
java.lang.Object
org.apache.nifi.util.MockPropertyConfiguration
- All Implemented Interfaces:
org.apache.nifi.migration.PropertyConfiguration
public class MockPropertyConfiguration
extends Object
implements org.apache.nifi.migration.PropertyConfiguration
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final record -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Set<MockPropertyConfiguration.CreatedControllerService> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateControllerService(String implementationClassName, Map<String, String> serviceProperties) getPropertyValue(String propertyName) getRawPropertyValue(String propertyName) booleanhasProperty(String propertyName) booleanisPropertySet(String propertyName) booleanremoveProperty(String propertyName) booleanrenameProperty(String propertyName, String newName) voidsetProperty(String propertyName, String propertyValue) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
renamePropertyin interfaceorg.apache.nifi.migration.PropertyConfiguration
-
removeProperty
- Specified by:
removePropertyin interfaceorg.apache.nifi.migration.PropertyConfiguration
-
hasProperty
- Specified by:
hasPropertyin interfaceorg.apache.nifi.migration.PropertyConfiguration
-
isPropertySet
- Specified by:
isPropertySetin interfaceorg.apache.nifi.migration.PropertyConfiguration
-
setProperty
- Specified by:
setPropertyin interfaceorg.apache.nifi.migration.PropertyConfiguration
-
getPropertyValue
- Specified by:
getPropertyValuein interfaceorg.apache.nifi.migration.PropertyConfiguration
-
getRawPropertyValue
- Specified by:
getRawPropertyValuein interfaceorg.apache.nifi.migration.PropertyConfiguration
-
getProperties
- Specified by:
getPropertiesin interfaceorg.apache.nifi.migration.PropertyConfiguration
-
getRawProperties
- Specified by:
getRawPropertiesin interfaceorg.apache.nifi.migration.PropertyConfiguration
-
createControllerService
public String createControllerService(String implementationClassName, Map<String, String> serviceProperties) - Specified by:
createControllerServicein interfaceorg.apache.nifi.migration.PropertyConfiguration
-