|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object gov.bnl.star.offline.scheduler.OutputFile
public class OutputFile
Represent an Output file description. It can be either a file, a wildcard or a directory. It also contains the target where the output should be copied.
This representation is only temporary, and it is an evolution to the URL used as input files. To make everything consistent, input and output representation should be reviewed to separate definition, and actions such as the file copy. It might be more than needed, and that is why it hasn't been yet done.
Field Summary | |
---|---|
static int |
DIRECTORY
source/destination represents a directory |
static int |
FILE
source/destination represents a file |
static int |
NONE
no destination is set, using actions |
static int |
WILDCARD
source/destination represents a wildcard |
Constructor Summary | |
---|---|
OutputFile()
|
|
OutputFile(java.lang.String fromScratch,
java.lang.String toURL)
Creates a new description for the output files. |
Method Summary | |
---|---|
java.util.List |
getActionList()
Returns the list of actions to be done on this output. |
int |
getDestType()
Returns the type of source: file or directory. |
java.lang.String |
getFromScratch()
Returns the relative path of the output in the scratch directory |
int |
getSourceType()
Returns the type of source: file, wildcard or directory. |
java.net.URI |
getToURL()
Returns the URL reprenting the location in which to copy the output after the job finishes. |
java.lang.String |
getToURLString()
|
void |
setActionList(java.util.List actionList)
|
void |
setFromScratch(java.lang.String fromScratch)
|
void |
setToURLString(java.lang.String XtoURL)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int FILE
public static final int WILDCARD
public static final int DIRECTORY
public static final int NONE
Constructor Detail |
---|
public OutputFile()
public OutputFile(java.lang.String fromScratch, java.lang.String toURL)
fromScratch
- relative path in the scratch directorytoURL
- URL represnting the location where to copy the output at the end of the jobMethod Detail |
---|
public int getSourceType()
public int getDestType()
public java.lang.String getFromScratch()
public void setFromScratch(java.lang.String fromScratch)
public java.util.List getActionList()
public void setActionList(java.util.List actionList)
public java.net.URI getToURL()
public java.lang.String getToURLString()
public void setToURLString(java.lang.String XtoURL)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |