public class SdkTestUtils extends TransformerUtils
Modifier and Type | Field and Description |
---|---|
static String |
TEST_STAGE_NAME
the stage component name.
|
static String |
TEST_WORKFLOW
the workflow to used for transformer tests
|
Constructor and Description |
---|
SdkTestUtils() |
Modifier and Type | Method and Description |
---|---|
static SchemaUtil |
createMockSchemaUtil(Schema schema) |
static void |
startTransformer(Stage trans)
Starts the transformer, configuring is a much as possible in the test environment.
|
static void |
startTransformer(Stage trans,
ProcessingFeedbackHandler handler) |
static void |
startTransformer(Stage trans,
Schema schema) |
static void |
startTransformer(Stage trans,
SchemaUtil schemaUtil) |
static void |
startTransformer(Stage trans,
SchemaUtil schemaUtil,
ProcessingFeedbackHandler feedbackHandler) |
static void |
startTransformer(Stage trans,
SchemaUtil schemaUtil,
ProcessingFeedbackHandler feedbackHandler,
AieLogger logger) |
getAllOrSpecificFieldList, mapFieldValues, mapFieldValues, mapFieldValues, mapFieldValues, mapFieldValues, modifyFieldValues, modifyFieldValues, processDocument
public static final String TEST_WORKFLOW
public static final String TEST_STAGE_NAME
public static void startTransformer(Stage trans)
com.attivio.sdk.server.component.configuration
which can be initialized are set up with mock implementations.trans
- public static SchemaUtil createMockSchemaUtil(Schema schema)
schema
- if null, SchemaRepository#DEFAULT_SCHEMA
will be used.public static void startTransformer(Stage trans, SchemaUtil schemaUtil)
public static void startTransformer(Stage trans, SchemaUtil schemaUtil, ProcessingFeedbackHandler feedbackHandler)
public static void startTransformer(Stage trans, SchemaUtil schemaUtil, ProcessingFeedbackHandler feedbackHandler, AieLogger logger)
public static void startTransformer(Stage trans, ProcessingFeedbackHandler handler)
Copyright © 2018 Attivio, Inc. All Rights Reserved.
PATENT NOTICE: Attivio, Inc. Software Related Patents. With respect to the Attivio software product(s) being used, the following patents apply: Querying Joined Data Within A Search Engine Index: United States Patent No.(s): 8,073,840. Ordered Processing of Groups of Messages: U.S. Patent No.(s) 8,495,656. Signal processing approach to sentiment analysis for entities in documents: U.S. Patent No.(s) 8,725,494. Other U.S. and International Patents Pending.