Package org.nuxeo.ecm.platform.video
Class VideoConversionStatus
- java.lang.Object
-
- org.nuxeo.ecm.platform.video.VideoConversionStatus
-
public class VideoConversionStatus extends Object
Simple data transfer object to report on the state of a video conversion.- Since:
- 5.5
- Author:
- Thomas Roger
-
-
Field Summary
Fields Modifier and Type Field Description String
message
long
positionInQueue
long
queueSize
static String
STATUS_CONVERSION_PENDING
static String
STATUS_CONVERSION_QUEUED
-
Constructor Summary
Constructors Constructor Description VideoConversionStatus(String message)
VideoConversionStatus(String message, long positionInQueue, long queueSize)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getMessage()
long
getPositionInQueue()
long
getQueueSize()
-
-
-
Field Detail
-
STATUS_CONVERSION_QUEUED
public static final String STATUS_CONVERSION_QUEUED
- See Also:
- Constant Field Values
-
STATUS_CONVERSION_PENDING
public static final String STATUS_CONVERSION_PENDING
- See Also:
- Constant Field Values
-
positionInQueue
public final long positionInQueue
-
queueSize
public final long queueSize
-
-
Constructor Detail
-
VideoConversionStatus
public VideoConversionStatus(String message)
-
VideoConversionStatus
public VideoConversionStatus(String message, long positionInQueue, long queueSize)
-
-
Method Detail
-
getMessage
public String getMessage()
-
getPositionInQueue
public long getPositionInQueue()
-
getQueueSize
public long getQueueSize()
-
-