public class JobInfo extends com.microsoft.windowsazure.services.media.implementation.ODataEntity<com.microsoft.windowsazure.services.media.implementation.content.JobType>
| Constructor and Description |
|---|
JobInfo(com.microsoft.windowsazure.services.media.implementation.atom.EntryType entry,
com.microsoft.windowsazure.services.media.implementation.content.JobType content)
Instantiates a new job info.
|
| Modifier and Type | Method and Description |
|---|---|
JobInfo |
addJobNotificationSubscription(JobNotificationSubscription jobNotificationSubscription)
Adds the job notification subscription.
|
Date |
getCreated()
Gets the created.
|
Date |
getEndTime()
Gets the end time.
|
String |
getId()
Gets the id.
|
LinkInfo<AssetInfo> |
getInputAssetsLink()
Get a link which, when listed, will return the input assets for the job.
|
List<JobNotificationSubscription> |
getJobNotificationSubscriptions()
Gets the job notification subscriptions.
|
Date |
getLastModified()
Gets the last modified.
|
String |
getName()
Gets the name.
|
LinkInfo<AssetInfo> |
getOutputAssetsLink()
Get a link which, when listed, will return the output assets for the job.
|
int |
getPriority()
Gets the priority.
|
double |
getRunningDuration()
Gets the running duration.
|
Date |
getStartTime()
Gets the start time.
|
JobState |
getState()
Gets the state.
|
LinkInfo<TaskInfo> |
getTasksLink()
Gets the tasks link.
|
String |
getTemplateId()
Gets the template id.
|
getCollectedType, getContent, getEntry, getLink, getRelationLink, hasLink, isODataEntityCollectionType, isODataEntityTypepublic JobInfo(com.microsoft.windowsazure.services.media.implementation.atom.EntryType entry, com.microsoft.windowsazure.services.media.implementation.content.JobType content)
entry - the entrycontent - the contentpublic String getId()
public String getName()
public Date getCreated()
public Date getLastModified()
public Date getEndTime()
public int getPriority()
public double getRunningDuration()
public Date getStartTime()
public JobState getState()
public String getTemplateId()
public LinkInfo<AssetInfo> getInputAssetsLink()
public LinkInfo<AssetInfo> getOutputAssetsLink()
public List<JobNotificationSubscription> getJobNotificationSubscriptions()
public JobInfo addJobNotificationSubscription(JobNotificationSubscription jobNotificationSubscription)
jobNotificationSubscription - the job notification subscription/**
* Copyright Microsoft Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/