@@ -36,16 +36,60 @@ public Document createJob(ZencoderJob job)
36
36
* Send a jobProgress request for a job.
37
37
* @param jobId ID for the requested job.
38
38
* @return State of job, or null if unable to parse response.
39
+ * @deprecated use {@link #getJobState(int)}
39
40
*/
40
41
public ZencoderNotificationJobState jobProgress (int jobId );
41
42
42
43
/**
43
44
* Send a jobProgress request for a job.
44
45
* @param job
45
46
* @return State of job, or null if unable to parse response.
47
+ * @deprecated use {@link #getJobState(ZencoderJob)}
46
48
*/
47
49
public ZencoderNotificationJobState jobProgress (ZencoderJob job );
48
-
50
+
51
+ /**
52
+ * Send a job detail request for a job.
53
+ * @param jobId ID for the requested job.
54
+ * @return XML Response from zencoder
55
+ */
56
+ public Document getJobDetails (int jobId );
57
+
58
+ /**
59
+ * Send a job detail request for a job.
60
+ * @param job
61
+ * @return XML Response from zencoder
62
+ */
63
+ public Document getJobDetails (ZencoderJob job );
64
+
65
+ /**
66
+ * Send a jobProgress request for a job.
67
+ * @param jobId ID for the requested job.
68
+ * @return State of job, or null if unable to parse response.
69
+ */
70
+ public Document getJobProgress (int jobId );
71
+
72
+ /**
73
+ * Send a jobProgress request for a job.
74
+ * @param job
75
+ * @return State of job, or null if unable to parse response.
76
+ */
77
+ public Document getJobProgress (ZencoderJob job );
78
+
79
+ /**
80
+ * Send a jobProgress request to determine the state of a job.
81
+ * @param jobId ID for the requested job.
82
+ * @return State of job, or null if unable to parse response.
83
+ */
84
+ public ZencoderNotificationJobState getJobState (int jobId );
85
+
86
+ /**
87
+ * Send a jobProgress request to determine the state of a job.
88
+ * @param job
89
+ * @return State of job, or null if unable to parse response.
90
+ */
91
+ public ZencoderNotificationJobState getJobState (ZencoderJob job );
92
+
49
93
/**
50
94
* Send a resubmit request for a job.
51
95
* @param jobId ID for the requested job.
0 commit comments