public interface Action
Modifier and Type | Method and Description |
---|---|
default void |
build()
Builds the action within the given Flink Stream Execution Environment.
|
void |
run()
The execution method of the action.
|
default void build() throws Exception
This method is responsible for setting up any necessary configurations or resources needed for the action to run. It is called before the `run` method to prepare the environment for execution.
By default, this method is empty and can be overridden by subclasses to provide custom setup logic.
Exception
- If an error occurs during the build process.Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.