|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ourgrid.common.spec.IOBlock
public class IOBlock
This entity handles the input and output entries for a task.
Created on Jul 1, 2004
,
Serialized FormConstructor Summary | |
---|---|
IOBlock()
An empty constructor |
Method Summary | |
---|---|
java.util.Iterator<java.lang.String> |
getConditions()
Returns all the conditions that indexes the entry blocks. |
java.util.Vector<IOEntry> |
getEntry(java.lang.String condition)
Returns a collection with the entries related with a condition. |
int |
length()
Tells how many entries this I/O block has. |
void |
putEntry(IOEntry entry)
Inserts a new input/output entry at this block of I/O commands, using as condition the empty string, that means this entry will always be used. |
void |
putEntry(java.lang.String condition,
IOEntry entry)
Inserts a new input/output entry at this block of I/O commands. |
java.lang.String |
toString()
Returns a string representation of an IOBlock. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public IOBlock()
Method Detail |
---|
public void putEntry(java.lang.String condition, IOEntry entry)
condition
- The condition that tells if the I/O command will be
executed. It happens only when the command was written inside a
if/else block.entry
- A IOEntry object that defines the command and the paths of
origin and destiny of a file.public void putEntry(IOEntry entry)
entry
- The input/output entry.public int length()
public java.util.Vector<IOEntry> getEntry(java.lang.String condition)
condition
- The condition that indexes all the entries that will be
used if it is true.
public java.util.Iterator<java.lang.String> getConditions()
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |