|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Specification document for performing a file operation task
| Field Summary | |
static String |
CD
Changes the current working directory |
static String |
CHMOD
Changes the file permissions of a remote file |
static String |
EXISTS
Indicates whether a file with a given name exists |
static String |
GETDIR
Transfers the entire directory from the remote resource to the local machine |
static String |
GETFILE
Transfers the file from the remote resource to the local machine |
static String |
ISDIRECTORY
Indicated whether a file with the given name is a directory on the remote resource |
static String |
LS
Lists all the files in the current working directory |
static String |
MGET
Transfers multiple files from the remote resource to the local machine |
static String |
MKDIR
Creates a new directory on the remote resource |
static String |
MPUT
Transfers multiple files from the local machine to the remote resource |
static String |
PUTDIR
Transfers the entire directory from the local machine to the remote resource |
static String |
PUTFILE
Transfers the file from the local machine to the remote resource |
static String |
PWD
Gets the present working directory on the remote resource |
static String |
RENAME
Renames a file on the remote resource |
static String |
RMDIR
Deletes the directory on the remote resource |
static String |
RMFILE
Deletes the file on the remote resource |
static String |
START
Initializes and starts the remote FileResource |
static String |
STOP
Stops the remote FileResource |
| Fields inherited from interface org.globus.cog.abstraction.interfaces.Specification |
FILE_OPERATION, FILE_TRANSFER, JOB_SUBMISSION |
| Method Summary | |
int |
addArgument(String argument)
Adds an argument for the file operation at the tail of the ordered list of arguments. |
Enumeration |
getAllAttributes()
Returns all the attributes |
String |
getArgument(int n)
Returns the nth argument for the file operation |
Collection |
getArguments()
Returns all the arguments for the file operation |
int |
getArgumentSize()
Returns the number of arguments |
Object |
getAttribute(String name)
Get attribute value accociated with the given attribute name |
String |
getOperation()
Returns the file operation for this specification |
void |
setArgument(String arguments,
int index)
Sets the arguments for the file operation associated with this specification at the given index. |
void |
setAttribute(String name,
Object value)
Sets any additional information through attributes |
void |
setOperation(String operation)
Sets the operation to be executed on the remote file resource. |
| Methods inherited from interface org.globus.cog.abstraction.interfaces.Specification |
getSpecification, getType, setSpecification, setType |
| Field Detail |
public static final String START
FileResource
public static final String STOP
FileResource
public static final String PWD
public static final String CD
public static final String LS
public static final String MKDIR
public static final String RMDIR
public static final String RMFILE
public static final String GETFILE
public static final String PUTFILE
public static final String GETDIR
public static final String PUTDIR
public static final String MGET
public static final String MPUT
public static final String RENAME
public static final String CHMOD
public static final String EXISTS
public static final String ISDIRECTORY
| Method Detail |
public void setOperation(String operation)
START,
STOP,
PWD,
CD,
LS,
MKDIR,
RMDIR,
RMFILE,
GETFILE,
PUTFILE,
GETDIR,
PUTDIR,
MGET,
MPUT,
RENAME,
CHMOD,
EXISTS,
ISDIRECTORY
public String getOperation()
public void setArgument(String arguments,
int index)
public int addArgument(String argument)
public Collection getArguments()
public String getArgument(int n)
public int getArgumentSize()
public void setAttribute(String name,
Object value)
public Object getAttribute(String name)
public Enumeration getAllAttributes()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||