public abstract class TransferEventImpl extends Object implements TransferEvent
TransferEvent
,
RangedTransferEvent
TransferEvent.TransferState
Constructor and Description |
---|
TransferEventImpl() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getMessage()
Get a human readable message for this event
|
long |
getPosition()
The position in the range
|
long |
getRange()
The maximum range
|
Date |
getTime()
The time this event occured.
|
TransferEvent.TransferState |
getTransferState()
Get the state of this transfer
|
int |
hashCode() |
boolean |
isLast()
Is this the last event for this transfer ?
|
void |
setLast(boolean last) |
void |
setMessage(String message) |
void |
setPosition(long position) |
void |
setRange(long range) |
void |
setTime(Date time) |
void |
setTransferState(TransferEvent.TransferState state) |
String |
toString()
A simple human readable summary of this event, the format of this string is
not guaranteed and is liable to change.
|
public String getMessage()
TransferEvent
getMessage
in interface TransferEvent
public Date getTime()
TransferEvent
getTime
in interface TransferEvent
public void setMessage(String message)
public void setRange(long range)
public void setPosition(long position)
public void setTransferState(TransferEvent.TransferState state)
public void setTime(Date time)
public TransferEvent.TransferState getTransferState()
TransferEvent
getTransferState
in interface TransferEvent
public void setLast(boolean last)
public boolean isLast()
TransferEvent
isLast
in interface TransferEvent
public long getPosition()
public long getRange()
public String toString()
Copyright © 2005–2017 Alfresco Software. All rights reserved.