Package com.probely.api
Class ScanController
- java.lang.Object
-
- com.probely.api.ScanController
-
public class ScanController extends Object
-
-
Constructor Summary
Constructors Constructor Description ScanController(String authToken, String url, String target, org.apache.http.impl.client.CloseableHttpClient httpClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
Scan
getScan()
Scan
refresh()
Scan
start()
Scan
stop()
Scan
waitForChanges(long timeout)
-
-
-
Method Detail
-
start
public Scan start() throws IOException
- Throws:
IOException
-
refresh
public Scan refresh() throws IOException
- Throws:
IOException
-
stop
public Scan stop() throws IOException
- Throws:
IOException
-
waitForChanges
public Scan waitForChanges(long timeout)
-
getScan
public Scan getScan()
-
close
public void close()
-
-