public class Task extends BitmovinResponse
Constructor and Description |
---|
Task() |
Modifier and Type | Method and Description |
---|---|
Task |
addMessagesItem(Message messagesItem) |
Task |
addSubtasksItem(Subtask subtasksItem) |
boolean |
equals(Object o) |
Date |
getCreatedAt()
Timestamp when the task was created, formatted in UTC: YYYY-MM-DDThh:mm:ssZ
|
ErrorDetails |
getError()
Additional optional error details
|
Date |
getErrorAt()
Timestamp when the task status changed to \"ERROR\", formatted in UTC: YYYY-MM-DDThh:mm:ssZ
|
Double |
getEta()
Estimated ETA in seconds
|
Date |
getFinishedAt()
Timestamp when the task status changed to \"FINISHED\", formatted in UTC: YYYY-MM-DDThh:mm:ssZ
|
List<Message> |
getMessages()
Task specific messages
|
Integer |
getProgress()
Progress in percent
|
Date |
getQueuedAt()
Timestamp when the task status changed to \"QUEUED\", formatted in UTC: YYYY-MM-DDThh:mm:ssZ
|
Date |
getRunningAt()
Timestamp when the task status changed to to \"RUNNING\", formatted in UTC: YYYY-MM-DDThh:mm:ssZ
|
Status |
getStatus()
Current status
|
List<Subtask> |
getSubtasks()
List of subtasks
|
int |
hashCode() |
void |
setCreatedAt(Date createdAt) |
void |
setError(ErrorDetails error) |
void |
setErrorAt(Date errorAt) |
void |
setEta(Double eta) |
void |
setFinishedAt(Date finishedAt) |
void |
setMessages(List<Message> messages) |
void |
setProgress(Integer progress) |
void |
setQueuedAt(Date queuedAt) |
void |
setRunningAt(Date runningAt) |
void |
setStatus(Status status) |
void |
setSubtasks(List<Subtask> subtasks) |
String |
toString() |
getId
public Status getStatus()
public void setStatus(Status status)
public Double getEta()
public void setEta(Double eta)
public Integer getProgress()
public void setProgress(Integer progress)
public Date getCreatedAt()
public void setCreatedAt(Date createdAt)
public Date getQueuedAt()
public void setQueuedAt(Date queuedAt)
public Date getRunningAt()
public void setRunningAt(Date runningAt)
public Date getFinishedAt()
public void setFinishedAt(Date finishedAt)
public Date getErrorAt()
public void setErrorAt(Date errorAt)
public ErrorDetails getError()
public void setError(ErrorDetails error)
public boolean equals(Object o)
equals
in class BitmovinResponse
public int hashCode()
hashCode
in class BitmovinResponse
public String toString()
toString
in class BitmovinResponse
Copyright © 2019. All rights reserved.