public class ExecuteCommandResult extends AsyncResult
| Constructor and Description |
|---|
ExecuteCommandResult(java.lang.String command) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
endAsync()
This method is called to complete the asynchronous operation.
|
java.lang.String |
getCommand()
Get the literal command executed
|
java.lang.String |
getResult()
Get the result of applying the command
|
void |
setResult(java.lang.String result)
Set the command result string
|
cancelTask, endAsyncCalled, endAsyncInternal, getClient, getLocalContext, getTag, getTask, getTaskDescription, getTaskId, getThrowable, isCompleted, isSuccessful, notifyComplete, setAsIfCompleted, setClient, setEndAsyncCalled, setLocalContext, setSuccessful, setTag, setTask, setThrowable, waitTillCompletepublic java.lang.String endAsync()
throws FTPException,
java.io.IOException
java.io.IOExceptionFTPExceptionpublic java.lang.String getResult()
public void setResult(java.lang.String result)
result - result returned by serverpublic java.lang.String getCommand()
Copyright © 2001-2014 Enterprise Distributed Technologies Ltd. All Rights Reserved.