Package com.attivio.sdk.ingest
Class Backup
- java.lang.Object
-
- com.attivio.sdk.esb.AbstractPlatformMessage
-
- com.attivio.sdk.ingest.AbstractIndexMessage
-
- com.attivio.sdk.ingest.Backup
-
- All Implemented Interfaces:
PlatformMessage
,IndexMessage
,java.io.Serializable
,java.lang.Cloneable
public class Backup extends AbstractIndexMessage
Message used to initiate an index backup.- 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 Backup()
The default constructorBackup(java.util.UUID cid, WorkflowQueue workflows)
Constructor with a client ID and a workflow queueBackup(java.util.UUID cid, java.lang.String... workflows)
Constructor with a client ID and an array of workflows
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Backup
clone()
Clones the object and resets message ID to -1.boolean
equals(java.lang.Object other)
java.lang.String
getSnapshotName()
Get the name of the snapshot that should be created.int
hashCode()
void
setSnapshotName(java.lang.String value)
Set the name of the snapshot that should be created.-
Methods inherited from class com.attivio.sdk.esb.AbstractPlatformMessage
addMessageHistory, addMessageHistory, getClientId, getEstimatedSize, getMessageHistory, getMessageId, getMetadata, getProperty, getProperty, getProperty, getProperty, getProperty, getProperty, getWorkflowQueue, getWorkflowQueue, 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
-
Backup
public Backup()
The default constructor
-
Backup
public Backup(java.util.UUID cid, java.lang.String... workflows)
Constructor with a client ID and an array of workflows- Parameters:
cid
- the client IDworkflows
- the workflows
-
Backup
public Backup(java.util.UUID cid, WorkflowQueue workflows)
Constructor with a client ID and a workflow queue
-
-
Method Detail
-
getSnapshotName
public java.lang.String getSnapshotName()
Get the name of the snapshot that should be created.If no name is specified, a name will be automatically selected as needed if applicable.
-
setSnapshotName
public void setSnapshotName(java.lang.String value)
Set the name of the snapshot that should be created.If no name is specified, a name will be automatically selected as needed if applicable.
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classAbstractPlatformMessage
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals
in classAbstractPlatformMessage
-
clone
public Backup 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 classAbstractIndexMessage
- Returns:
- the cloned index message
-
-