com.saucelabs.rest
Class JobFactory

java.lang.Object
  extended by com.saucelabs.rest.JobFactory

public class JobFactory
extends java.lang.Object


Constructor Summary
JobFactory()
          Uses the default credential file to connect to sauce tunnels.
JobFactory(Credential credential)
          Uses the specified credential to connect to sauce tunnels.
 
Method Summary
 Job get(java.lang.String id)
           
 Job update(java.lang.String id, UpdateJob job)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JobFactory

public JobFactory(Credential credential)
Uses the specified credential to connect to sauce tunnels.


JobFactory

public JobFactory()
           throws java.io.IOException
Uses the default credential file to connect to sauce tunnels.

Throws:
java.io.IOException
Method Detail

update

public Job update(java.lang.String id,
                  UpdateJob job)
           throws java.io.IOException
Throws:
java.io.IOException

get

public Job get(java.lang.String id)
        throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2011. All Rights Reserved.