public abstract class ItemStreamSupport extends java.lang.Object implements ItemStream
ItemStream
.Constructor and Description |
---|
ItemStreamSupport() |
Modifier and Type | Method and Description |
---|---|
void |
close()
No-op.
|
java.lang.String |
getExecutionContextKey(java.lang.String key) |
void |
open(ExecutionContext executionContext)
No-op.
|
protected void |
setExecutionContextName(java.lang.String name) |
void |
setName(java.lang.String name)
The name of the component which will be used as a stem for keys in the
ExecutionContext . |
void |
update(ExecutionContext executionContext)
Return empty
ExecutionContext . |
public void close()
close
in interface ItemStream
ItemStream.close()
public void open(ExecutionContext executionContext)
open
in interface ItemStream
executionContext
- current step's ExecutionContext
. Will be the
executionContext from the last run of the step on a restart.ItemStream.open(ExecutionContext)
public void update(ExecutionContext executionContext)
ExecutionContext
.update
in interface ItemStream
executionContext
- to be updatedItemStream.update(ExecutionContext)
public void setName(java.lang.String name)
ExecutionContext
. Subclasses should provide a default value, e.g.
the short form of the class name.name
- the name for the componentprotected void setExecutionContextName(java.lang.String name)
public java.lang.String getExecutionContextKey(java.lang.String key)