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, getThisLoggerpublic 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 SinkModuleclose in class SinkModule.Abstractpublic boolean delete(VersionedValue versionedValue)
delete in interface SinkModuledelete in class SinkModule.AbstractversionedValue - The point value to delete.public void open()
throws ServiceNotReadyException
open in interface SinkModuleopen in class SinkModule.AbstractServiceNotReadyException - When the service is not ready.public boolean setUp(SinkServiceAppImpl sinkAppImpl)
setUp in interface SinkModulesetUp in class SinkModule.AbstractsinkAppImpl - The sink application implementation.public void tearDown()
tearDown in interface SinkModuletearDown in class SinkModule.Abstractpublic boolean update(VersionedValue versionedValue)
update in interface SinkModuleupdate in class SinkModule.AbstractversionedValue - The new point value.Copyright © 2003-2019 Serge Brisson. All Rights Reserved.