Package | Description |
---|---|
org.apache.nifi.components.state |
Modifier and Type | Method and Description |
---|---|
static Scope |
Scope.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Scope[] |
Scope.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
StateManager.clear(Scope scope)
Clears all keys and values from the component's state
|
StateMap |
StateManager.getState(Scope scope)
Returns the current state for the component.
|
boolean |
StateManager.replace(StateMap oldValue,
Map<String,String> newValue,
Scope scope)
Updates the value of the component's state to the new value if and only if the value currently
is the same as the given oldValue.
|
void |
StateManager.setState(Map<String,String> state,
Scope scope)
Updates the value of the component's state, setting it to given value
|
Copyright © 2017 Apache NiFi Project. All rights reserved.