public interface StateMap
Modifier and Type | Method and Description |
---|---|
String |
get(String key)
Returns the value associated with the given key
|
default Optional<String> |
getStateVersion()
Get state version is not guaranteed to be numeric, but can be used to compare against an expected version.
|
long |
getVersion()
Deprecated.
|
Map<String,String> |
toMap()
Returns an immutable Map representation of all keys and values for the state of a component.
|
@Deprecated long getVersion()
default Optional<String> getStateVersion()
String get(String key)
key
- the key whose value should be retrievednull
if no value is associated
with this key.Copyright © 2023 Apache NiFi Project. All rights reserved.