org.ourgrid.common.spec
Class IOEntry

java.lang.Object
  extended by org.ourgrid.common.spec.IOEntry
All Implemented Interfaces:
java.io.Serializable

public class IOEntry
extends java.lang.Object
implements java.io.Serializable

Encapsulates informations about a input/output operation at the MyGrid environment.

Version:
1.0 Created on Jul 2, 2004
See Also:
Serialized Form

Constructor Summary
IOEntry()
          An empty constructor.
IOEntry(java.lang.String command, java.lang.String sourceFile, java.lang.String destiny)
          Constructor.
 
Method Summary
 java.lang.String getCommand()
           
 java.lang.String getDestiny()
           
 java.lang.String getSourceFile()
           
 void setCommand(java.lang.String command)
           
 void setDestiny(java.lang.String destiny)
           
 void setSourceFile(java.lang.String sourceFile)
           
 java.lang.String toString()
          Returns an string representation of this IOEntry
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IOEntry

public IOEntry()
An empty constructor.


IOEntry

public IOEntry(java.lang.String command,
               java.lang.String sourceFile,
               java.lang.String destiny)
Constructor.

Parameters:
command - The command that will be executed at the tranfering time.
sourceFile - The path file that will be transfered.
destiny - The destiny's path of the file transfered.
Method Detail

getCommand

public java.lang.String getCommand()
Returns:
Returns the command.

getDestiny

public java.lang.String getDestiny()
Returns:
Returns the destiny.

getSourceFile

public java.lang.String getSourceFile()
Returns:
Returns the sourceFile.

setCommand

public void setCommand(java.lang.String command)
Parameters:
command - The command to set.

setDestiny

public void setDestiny(java.lang.String destiny)
Parameters:
destiny - The destiny to set.

setSourceFile

public void setSourceFile(java.lang.String sourceFile)
Parameters:
sourceFile - The sourceFile to set.

toString

public java.lang.String toString()
Returns an string representation of this IOEntry

Overrides:
toString in class java.lang.Object