public abstract class BaseNode extends java.lang.Object implements INode, Closable
Modifier and Type | Field and Description |
---|---|
protected Config |
config |
protected TaskContext |
context |
Constructor and Description |
---|
BaseNode() |
Modifier and Type | Method and Description |
---|---|
void |
close()
Close method for cleaning up the resources
|
void |
prepare(Config cfg,
TaskContext ctx)
Prepare the task to be executed
|
void |
reset()
Reset the task
|
protected TaskContext context
protected Config config
public void prepare(Config cfg, TaskContext ctx)
INode
public void close()
Closable