Package com.attivio.sdk.ingest
Class AbstractIndexMessage
- java.lang.Object
-
- com.attivio.sdk.esb.AbstractPlatformMessage
-
- com.attivio.sdk.ingest.AbstractIndexMessage
-
- All Implemented Interfaces:
PlatformMessage
,IndexMessage
,java.io.Serializable
,java.lang.Cloneable
- Direct Known Subclasses:
Backup
,BulkUpdate
,Commit
,Optimize
public abstract class AbstractIndexMessage extends AbstractPlatformMessage implements IndexMessage
Base class for IndexMessages which are notDocumentList
.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from interface com.attivio.sdk.esb.PlatformMessage
DEFAULT_MAX_LOG_LENGTH, MESSAGE_DROPPED, MESSAGE_SEND_TIME_PROP, PROP_MAX_LOG_LENGTH
-
-
Constructor Summary
Constructors Constructor Description AbstractIndexMessage()
ConstructorAbstractIndexMessage(java.util.UUID cid, WorkflowQueue workflows)
ConstructorAbstractIndexMessage(java.util.UUID cid, java.lang.String... workflows)
Constructor with client ID and workflows
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AbstractIndexMessage
clone()
Clones the object and resets message ID to -1.-
Methods inherited from class com.attivio.sdk.esb.AbstractPlatformMessage
addMessageHistory, addMessageHistory, equals, getClientId, getEstimatedSize, getMessageHistory, getMessageId, getMetadata, getProperty, getProperty, getProperty, getProperty, getProperty, getProperty, getWorkflowQueue, getWorkflowQueue, hashCode, hasProperty, isRedelivered, removeProperty, removeWorkflowQueue, setClientId, setMessageId, setProperty, setRedelivered, setWorkflowQueue, setWorkflowQueue, toMessageString, toString, toString, toString, toString, toString, toString, toString, toString, toString, toString
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.attivio.sdk.esb.PlatformMessage
addMessageHistory, addMessageHistory, getClientId, getEstimatedSize, getMessageHistory, getMessageId, getMetadata, getProperty, getWorkflowQueue, getWorkflowQueue, isRedelivered, removeProperty, setClientId, setMessageId, setProperty, setRedelivered, setWorkflowQueue, setWorkflowQueue, toMessageString
-
-
-
-
Constructor Detail
-
AbstractIndexMessage
public AbstractIndexMessage()
Constructor
-
AbstractIndexMessage
public AbstractIndexMessage(java.util.UUID cid, java.lang.String... workflows)
Constructor with client ID and workflows- Parameters:
cid
- the client IDworkflows
- the workflows
-
AbstractIndexMessage
public AbstractIndexMessage(java.util.UUID cid, WorkflowQueue workflows)
Constructor- Parameters:
cid
- the client IDworkflows
- the workflows
-
-
Method Detail
-
clone
public AbstractIndexMessage clone()
Clones the object and resets message ID to -1. Clones a message. The message ID is not cloned.- Specified by:
clone
in interfaceIndexMessage
- Specified by:
clone
in interfacePlatformMessage
- Overrides:
clone
in classAbstractPlatformMessage
- Returns:
- the cloned index message
-
-