public class ApplicationOperations extends Object implements IInheritedBehaviors
Modifier and Type | Method and Description |
---|---|
Collection<BatchClientBehavior> |
customBehaviors()
Gets a collection of behaviors that modify or customize requests to the Batch service.
|
ApplicationSummary |
getApplication(String applicationId)
Gets information about the specified application.
|
ApplicationSummary |
getApplication(String applicationId,
Iterable<BatchClientBehavior> additionalBehaviors)
Gets information about the specified application.
|
List<ApplicationSummary> |
listApplications()
Lists the
applications in the Batch account. |
List<ApplicationSummary> |
listApplications(Iterable<BatchClientBehavior> additionalBehaviors)
Lists the
applications in the Batch account. |
IInheritedBehaviors |
withCustomBehaviors(Collection<BatchClientBehavior> behaviors)
Sets a collection of behaviors that modify or customize requests to the Batch service.
|
public Collection<BatchClientBehavior> customBehaviors()
customBehaviors
in interface IInheritedBehaviors
BatchClientBehavior
instances.public IInheritedBehaviors withCustomBehaviors(Collection<BatchClientBehavior> behaviors)
withCustomBehaviors
in interface IInheritedBehaviors
behaviors
- The collection of BatchClientBehavior
instances.public List<ApplicationSummary> listApplications() throws BatchErrorException, IOException
applications
in the Batch account.ApplicationSummary
objects.BatchErrorException
- Exception thrown when an error response is received from the Batch service.IOException
- Exception thrown when there is an error in serialization/deserialization of data sent to/received from the Batch service.public List<ApplicationSummary> listApplications(Iterable<BatchClientBehavior> additionalBehaviors) throws BatchErrorException, IOException
applications
in the Batch account.additionalBehaviors
- A collection of BatchClientBehavior
instances that are applied to the Batch service request.ApplicationSummary
objects.BatchErrorException
- Exception thrown when an error response is received from the Batch service.IOException
- Exception thrown when there is an error in serialization/deserialization of data sent to/received from the Batch service.public ApplicationSummary getApplication(String applicationId) throws BatchErrorException, IOException
applicationId
- The ID of the application to get.ApplicationSummary
containing information about the specified application.BatchErrorException
- Exception thrown when an error response is received from the Batch service.IOException
- Exception thrown when there is an error in serialization/deserialization of data sent to/received from the Batch service.public ApplicationSummary getApplication(String applicationId, Iterable<BatchClientBehavior> additionalBehaviors) throws BatchErrorException, IOException
applicationId
- The ID of the application to get.additionalBehaviors
- A collection of BatchClientBehavior
instances that are applied to the Batch service request.ApplicationSummary
containing information about the specified application.BatchErrorException
- Exception thrown when an error response is received from the Batch service.IOException
- Exception thrown when there is an error in serialization/deserialization of data sent to/received from the Batch service.Copyright © 2019. All rights reserved.