public class ProgressImpl extends BaseImpl<Progress,ProgressReader,ProgressWriter> implements ProgressReader, ProgressWriter
apiVersion, canvasBaseUrl, canvasMessenger, masqueradeAs, masqueradeType, oauthToken, paginationPageSize, responseCallback, responseParser, serializeNulls| Constructor and Description |
|---|
ProgressImpl(String canvasBaseUrl,
Integer apiVersion,
OauthToken oauthToken,
RestClient restClient,
int connectTimeout,
int readTimeout,
Integer paginationPageSize,
Boolean serializeNulls) |
| Modifier and Type | Method and Description |
|---|---|
Optional<Progress> |
getProgress(Integer progressId)
Returns the progress of an asynchronous process by progress ID
|
Optional<Progress> |
getProgress(String url)
Returns the progress of an asynchronous process by progress URL
|
protected Type |
listType() |
protected Class<Progress> |
objectType() |
buildCanvasUrl, encode, getFromCanvas, getListFromCanvas, parseListOfResponses, readAsCanvasUser, readAsSisUser, withCallback, writeAsCanvasUser, writeAsSisUserclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitreadAsCanvasUser, readAsSisUser, withCallbackwriteAsCanvasUser, writeAsSisUserpublic ProgressImpl(String canvasBaseUrl, Integer apiVersion, OauthToken oauthToken, RestClient restClient, int connectTimeout, int readTimeout, Integer paginationPageSize, Boolean serializeNulls)
public Optional<Progress> getProgress(String url) throws IOException
ProgressReadergetProgress in interface ProgressReaderurl - The URL to query for progressIOException - When there is an error communicating with Canvaspublic Optional<Progress> getProgress(Integer progressId) throws IOException
ProgressReadergetProgress in interface ProgressReaderprogressId - ID of the progress object to queryIOException - When there is an error communicating with Canvasprotected Type listType()
listType in class BaseImpl<Progress,ProgressReader,ProgressWriter>protected Class<Progress> objectType()
objectType in class BaseImpl<Progress,ProgressReader,ProgressWriter>Copyright © 2021 Kansas State University, Office of Mediated Education. All rights reserved.