public class FileCreatedTrigger extends FileTrigger
FileTrigger.FileStatusTrigger.Protocol, Trigger.Status, Trigger.TRIGGER_TYPE| Modifier and Type | Field and Description |
|---|---|
protected java.util.Map<java.lang.String,java.lang.String> |
httpHeaders
httpHeaders key value pair of headers which are included in a http request
|
protected java.util.Map<java.lang.String,java.lang.String> |
httpParameters
httpParameters key value pair of parameters which are included in a http request
|
fileSize, fileStatus, fileTimestampcontext, errorMessage, folder, host, sessionId, sourceFile, status, triggerTimestamp| Constructor and Description |
|---|
FileCreatedTrigger() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canEqual(java.lang.Object other) |
boolean |
equals(java.lang.Object o) |
java.lang.Long |
getBytesTransferred()
gets the number of bytes of the file transferred successfully
|
java.lang.String |
getCommand()
gets the command executed(PUT,STOR, APPE, etc) from Protocol which fires the trigger
|
java.lang.String |
getDocDBTransferID()
Gets the docDB Transfer id of the transmission of the file
|
java.util.Map<java.lang.String,java.lang.String> |
getHttpHeaders()
gets the headers which are included in a http request
|
java.util.Map<java.lang.String,java.lang.String> |
getHttpParameters()
gets the parameters which are included in a http request
|
java.lang.String |
getMailbox()
gets the mailbox of the incoming file
|
Trigger.Protocol |
getProtocol()
gets the protocol(FTP, SSHFTP, LCOPY, HSP, AS2) which fires the trigger
|
java.lang.String |
getSessionUser()
Gets the user used to login to the session under which the trigger executes
|
java.lang.Long |
getTransmissionStarttime()
Gets time when the transmission of the file starts
|
java.lang.Double |
getTransmissionTime()
gets the time taken for the transmission of the file
|
java.lang.String |
getTransmissionTransferId()
Gets the transfer id of the transmission of the file
|
int |
hashCode() |
void |
setBytesTransferred(java.lang.Long bytesTransferred)
sets the number of bytes of the file transferred successfully
|
void |
setCommand(java.lang.String command)
sets the command executed(PUT,STOR, APPE, etc) from Protocol which fires the trigger
|
void |
setDocDBTransferID(java.lang.String docDBTransferID)
sets the docDB Transfer ID of the transmission of the file
|
void |
setHttpHeaders(java.util.Map<java.lang.String,java.lang.String> httpHeaders)
sets the headers which are included in a http request
|
void |
setHttpParameters(java.util.Map<java.lang.String,java.lang.String> httpParameters)
sets the parameters which are included in a http request
|
void |
setMailbox(java.lang.String mailbox)
sets the mailbox of the incoming file
|
void |
setProtocol(Trigger.Protocol protocol)
sets the protocol(FTP, SSHFTP, LCOPY, HSP, AS2) which fires the trigger
|
void |
setSessionUser(java.lang.String sessionUser)
sets the user name used to login to the session under which the trigger executes
|
void |
setTransmissionStarttime(java.lang.Long transmissionStarttime)
sets the time when the transmission of the file starts
|
void |
setTransmissionTime(java.lang.Double transmissionTime)
sets the time taken for the transmission of the file
|
void |
setTransmissionTransferId(java.lang.String transmissionTransferId)
sets the transfer id of the transmission of the file
|
java.lang.String |
toString()
Convert trigger object to its string representation
|
getFileSize, getFileStatus, getFileTimestamp, setFileSize, setFileStatus, setFileTimestampclone, getActionId, getContext, getErrorMessage, getExecutionStatus, getFolder, getHost, getScheduledType, getSessionId, getSourceFile, getStatus, getStorageLocation, getTriggerId, getTriggerTimestamp, getType, getValidationFailedMessage, setActionId, setContext, setErrorMessage, setExecutionStatus, setFolder, setHost, setScheduledType, setSessionId, setSourceFile, setStatus, setStorageLocation, setTriggerId, setTriggerTimestamp, setType, setValidationFailedMessage, toMapprotected java.util.Map<java.lang.String,java.lang.String> httpHeaders
protected java.util.Map<java.lang.String,java.lang.String> httpParameters
public java.lang.String toString()
toString in class FileTriggerpublic boolean equals(java.lang.Object o)
equals in class FileTriggerprotected boolean canEqual(java.lang.Object other)
canEqual in class FileTriggerpublic int hashCode()
hashCode in class FileTriggerpublic java.lang.String getSessionUser()
public void setSessionUser(java.lang.String sessionUser)
sessionUser - name used to login to the sessionpublic java.lang.String getTransmissionTransferId()
public void setTransmissionTransferId(java.lang.String transmissionTransferId)
transmissionTransferId - id of the transmission of the filepublic java.lang.String getDocDBTransferID()
public void setDocDBTransferID(java.lang.String docDBTransferID)
docDBTransferID - id of the transmission of the filepublic java.lang.Long getTransmissionStarttime()
public void setTransmissionStarttime(java.lang.Long transmissionStarttime)
transmissionStarttime - time when the transmission of the file startspublic java.lang.Double getTransmissionTime()
public void setTransmissionTime(java.lang.Double transmissionTime)
transmissionTime - time taken for the transmission of the filepublic java.lang.Long getBytesTransferred()
public void setBytesTransferred(java.lang.Long bytesTransferred)
bytesTransferred - the number of bytes of the file transferred successfullypublic java.lang.String getMailbox()
public void setMailbox(java.lang.String mailbox)
mailbox - the mailbox of the incoming filepublic Trigger.Protocol getProtocol()
public void setProtocol(Trigger.Protocol protocol)
protocol - the protocol(FTP, SSHFTP, LCOPY, HSP, AS2) which fires the triggerpublic java.lang.String getCommand()
public void setCommand(java.lang.String command)
command - the command executed(PUT,STOR, APPE, etc) from Protocol which fires the triggerpublic java.util.Map<java.lang.String,java.lang.String> getHttpHeaders()
public void setHttpHeaders(java.util.Map<java.lang.String,java.lang.String> httpHeaders)
httpHeaders - map of headers which are included in a http requestpublic java.util.Map<java.lang.String,java.lang.String> getHttpParameters()
public void setHttpParameters(java.util.Map<java.lang.String,java.lang.String> httpParameters)
httpParameters - map of parameters which are included in a http request