Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

add tasks list to job

  • Loading branch information...
commit e2c798079406ad856cd1a48490604e1268d85bec 1 parent 6d4934b
Albert Cheng authored
View
24 ...ft-azure-api/src/main/java/com/microsoft/windowsazure/services/media/implementation/content/JobType.java
@@ -69,10 +69,6 @@
@XmlElement(name = "TemplateId", namespace = Constants.ODATA_DATA_NS)
protected String templateId;
- /** The tasks. */
- @XmlElement(name = "TaskBody", namespace = Constants.ODATA_DATA_NS)
- protected String taskBody;
-
/**
* Gets the id.
*
@@ -273,24 +269,4 @@ public JobType setTemplateId(String templateId) {
return this;
}
- /**
- * Gets the tasks.
- *
- * @return the tasks
- */
- public String getTaskBody() {
- return taskBody;
- }
-
- /**
- * Sets the tasks.
- *
- * @param tasks
- * the new tasks
- */
- public JobType setTaskBody(String taskBody) {
- this.taskBody = taskBody;
- return this;
- }
-
}
View
23 microsoft-azure-api/src/main/java/com/microsoft/windowsazure/services/media/models/JobInfo.java
@@ -21,6 +21,7 @@
import com.microsoft.windowsazure.services.media.implementation.atom.EntryType;
import com.microsoft.windowsazure.services.media.implementation.content.JobType;
+// TODO: Auto-generated Javadoc
/**
* The Class JobInfo.
*/
@@ -129,16 +130,7 @@ public String getTemplateId() {
}
/**
- * Gets the task body.
- *
- * @return the task body
- */
- public String getTaskBody() {
- return getContent().getTaskBody();
- }
-
- /**
- * Get a link which, when listed, will return the input assets for the job
+ * Get a link which, when listed, will return the input assets for the job.
*
* @return Link if found, null if not.
*/
@@ -147,11 +139,20 @@ public LinkInfo getInputAssetsLink() {
}
/**
- * Get a link which, when listed, will return the output assets for the job
+ * Get a link which, when listed, will return the output assets for the job.
*
* @return Link if found, null if not.
*/
public LinkInfo getOutputAssetsLink() {
return getRelationLink("OutputMediaAssets");
}
+
+ /**
+ * Gets the tasks link.
+ *
+ * @return the tasks link
+ */
+ public LinkInfo getTasksLink() {
+ return getRelationLink("Tasks");
+ }
}
Please sign in to comment.
Something went wrong with that request. Please try again.