public abstract class AbstractOpsConfig<T extends AbstractOpsConfig>
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected ComputeConnection |
computeConnection |
protected java.lang.String |
edgeName |
protected MessageSchema |
messageSchema |
protected MessageType |
opDataType |
protected java.lang.String |
operationName |
protected java.util.Map<java.lang.String,java.lang.Object> |
propertiesMap |
protected java.lang.String |
source |
Modifier | Constructor and Description |
---|---|
protected |
AbstractOpsConfig(java.lang.String source,
java.lang.String operationName,
ComputeConnection computeConnection) |
Modifier and Type | Method and Description |
---|---|
ComputeConnection |
connect() |
protected static void |
failValidation(java.lang.String msg) |
protected void |
generateSchema()
This method tries to generate a schema, if user hasn't given a schema
|
java.lang.String |
getEdgeName() |
protected MessageType |
getOpDataType() |
java.lang.String |
getSource() |
protected void |
runValidation() |
protected abstract Edge |
updateEdge(Edge newEdge) |
T |
viaEdge(java.lang.String edge) |
T |
withDataType(MessageType dataType) |
T |
withMessageSchema(MessageSchema mc) |
T |
withProperties(java.util.Map<java.lang.String,java.lang.Object> properties) |
T |
withProperty(java.lang.String propertyName,
java.lang.Object property) |
protected java.lang.String source
protected java.lang.String operationName
protected ComputeConnection computeConnection
protected java.lang.String edgeName
protected MessageType opDataType
protected java.util.Map<java.lang.String,java.lang.Object> propertiesMap
protected MessageSchema messageSchema
protected AbstractOpsConfig(java.lang.String source, java.lang.String operationName, ComputeConnection computeConnection)
public T viaEdge(java.lang.String edge)
public T withProperties(java.util.Map<java.lang.String,java.lang.Object> properties)
public T withProperty(java.lang.String propertyName, java.lang.Object property)
public T withDataType(MessageType dataType)
public T withMessageSchema(MessageSchema mc)
public java.lang.String getSource()
public java.lang.String getEdgeName()
protected MessageType getOpDataType()
protected void runValidation()
protected static void failValidation(java.lang.String msg)
public ComputeConnection connect()
protected void generateSchema()