public void enableJob ( String jobId , Iterable < BatchClientBehavior > additionalBehaviors ) throws BatchErrorException , IOException { JobEnableOptions options = new JobEnableOptions ( ) ; BehaviorManager bhMgr = new BehaviorManager ( this . customBehaviors ( ) , additionalBehaviors ) ; bhMgr . applyRequestBehaviors ( options ) ; this . parentBatchClient . protocolLayer ( ) . jobs ( ) . enable ( jobId , options ) ; }
Enables the specified job allowing new tasks to run .