public final class ScriptSink extends SinkModule.Abstract
SinkModule.Abstract
Modifier and Type | Field and Description |
---|---|
static String |
DELETE_TEXT_PROPERTY
Delete text property.
|
static String |
ENGINE_NAME_PROPERTY
Engine name property.
|
static String |
ENGINE_VERSION_PROPERTY
Engine version property.
|
static String |
METADATA_ATTRIBUTE
Metadata attribute.
|
static String |
SCRIPT_PROPERTIES
The script properties group.
|
static String |
START_FILE_PROPERTY
Start file property.
|
static String |
START_TEXT_PROPERTY
Start text property.
|
static String |
STOP_TEXT_PROPERTY
Stop text property.
|
static String |
UPDATE_ARG_ATTRIBUTE
Update argument attribute.
|
static String |
UPDATE_COUNT_ATTRIBUTE
Update count attribute.
|
static String |
UPDATE_TEXT_PROPERTY
Update text property.
|
Constructor and Description |
---|
ScriptSink() |
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes this sink.
|
boolean |
delete(VersionedValue versionedValue)
Deletes a value.
|
void |
open()
Opens this Sink.
|
boolean |
setUp(SinkServiceAppImpl sinkAppImpl)
Sets up the sink for action.
|
void |
tearDown()
Tears down what has been set up.
|
boolean |
update(VersionedValue versionedValue)
Updates a value.
|
abort, getMetadata, getSinkAppImpl, getThisLogger
public static final String DELETE_TEXT_PROPERTY
public static final String ENGINE_NAME_PROPERTY
public static final String ENGINE_VERSION_PROPERTY
public static final String METADATA_ATTRIBUTE
public static final String SCRIPT_PROPERTIES
public static final String START_FILE_PROPERTY
public static final String START_TEXT_PROPERTY
public static final String STOP_TEXT_PROPERTY
public static final String UPDATE_ARG_ATTRIBUTE
public static final String UPDATE_COUNT_ATTRIBUTE
public static final String UPDATE_TEXT_PROPERTY
public void close()
close
in interface SinkModule
close
in class SinkModule.Abstract
public boolean delete(VersionedValue versionedValue)
delete
in interface SinkModule
delete
in class SinkModule.Abstract
versionedValue
- The point value to delete.public void open() throws ServiceNotReadyException
open
in interface SinkModule
open
in class SinkModule.Abstract
ServiceNotReadyException
- When the service is not ready.public boolean setUp(SinkServiceAppImpl sinkAppImpl)
setUp
in interface SinkModule
setUp
in class SinkModule.Abstract
sinkAppImpl
- The sink application implementation.public void tearDown()
tearDown
in interface SinkModule
tearDown
in class SinkModule.Abstract
public boolean update(VersionedValue versionedValue)
update
in interface SinkModule
update
in class SinkModule.Abstract
versionedValue
- The new point value.Copyright © 2003-2019 Serge Brisson. All Rights Reserved.