Package org.duracloud.snapshot.dto.task
Class GetRestoreTaskResult
- java.lang.Object
-
- org.duracloud.snapshot.dto.BaseDTO
-
- org.duracloud.snapshot.dto.bridge.GetRestoreBridgeResult
-
- org.duracloud.snapshot.dto.task.GetRestoreTaskResult
-
public class GetRestoreTaskResult extends GetRestoreBridgeResult
- Author:
- Daniel Bernstein Date: 8/7/14
-
-
Constructor Summary
Constructors Constructor Description GetRestoreTaskResult()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetRestoreTaskResultdeserialize(String taskResult)Parses properties from task resultStringserialize()Creates a serialized version of task results-
Methods inherited from class org.duracloud.snapshot.dto.bridge.GetRestoreBridgeResult
getDestinationHost, getDestinationPort, getDestinationSpaceId, getDestinationStoreId, getEndDate, getExpirationDate, getRestoreId, getSnapshotId, getStartDate, getStatus, getStatusText, setDestinationHost, setDestinationPort, setDestinationSpaceId, setDestinationStoreId, setEndDate, setExpirationDate, setRestoreId, setSnapshotId, setStartDate, setStatus, setStatusText
-
-
-
-
Method Detail
-
serialize
public String serialize()
Creates a serialized version of task results- Returns:
- JSON formatted task result info
-
deserialize
public static GetRestoreTaskResult deserialize(String taskResult)
Parses properties from task result- Parameters:
taskResult- - JSON formatted set of properties
-
-