public class Process extends Object
| Constructor and Description |
|---|
Process(String folderId,
CompletionCallback callback) |
| Modifier and Type | Method and Description |
|---|---|
void |
addCallBack(SyncOperationCallBack toAddCallback) |
void |
cancel() |
void |
cleanup() |
protected void |
finalize() |
ProcessDescriptor |
getDescriptor() |
ProcessStatus |
getStatus() |
void |
launch(ExecutorService service) |
void |
onStep(StepReport report) |
void |
updateStatus(StepReport report) |
public Process(String folderId, CompletionCallback callback) throws WorkspaceInteractionException, InternalException
public void launch(ExecutorService service) throws WorkspaceNotSynchedException, WorkspaceInteractionException, org.gcube.common.storagehub.model.exceptions.StorageHubException, InternalException
WorkspaceNotSynchedExceptionWorkspaceInteractionExceptionorg.gcube.common.storagehub.model.exceptions.StorageHubExceptionInternalExceptionpublic void addCallBack(SyncOperationCallBack toAddCallback)
public ProcessDescriptor getDescriptor()
public void onStep(StepReport report)
public void updateStatus(StepReport report)
public ProcessStatus getStatus()
public void cancel()
public void cleanup()
throws WorkspaceNotSynchedException,
WorkspaceInteractionException,
InternalException
Copyright © 2021. All Rights Reserved.