gov.bnl.star.offline.scheduler
Class OutputRegisterAction
java.lang.Object
gov.bnl.star.offline.scheduler.OutputAction
gov.bnl.star.offline.scheduler.OutputRegisterAction
- All Implemented Interfaces:
- java.io.Serializable
public class OutputRegisterAction
- extends OutputAction
- implements java.io.Serializable
Description of how to register an output file.
- Author:
- Carcassi & Hajdu
- See Also:
- Serialized Form
Constructor Summary |
OutputRegisterAction()
Creates a new instance of OutputCopyAction. |
OutputRegisterAction(java.util.List actionList,
java.lang.String id,
java.lang.String referto,
java.lang.String to,
int retries,
int sleep)
Creates a new instance of OutputCopyAction |
Method Summary |
java.lang.String |
getScriptName()
Returns false, as all CopyActions do not generate references. |
java.lang.String |
makeScriptString(java.lang.String outputFile,
java.lang.String gateway)
|
Methods inherited from class gov.bnl.star.offline.scheduler.OutputAction |
findReferTo, GetActionList, getExpectedActionResultFile, getID, getOutputFile, getReferTo, getRetries, getSleep, getTo, SetActionList, setID, setOutputFile, setReferTo, setRetries, setSleep, setTo |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OutputRegisterAction
public OutputRegisterAction(java.util.List actionList,
java.lang.String id,
java.lang.String referto,
java.lang.String to,
int retries,
int sleep)
- Creates a new instance of OutputCopyAction
OutputRegisterAction
public OutputRegisterAction()
- Creates a new instance of OutputCopyAction. Note: This constructor is only for use by the XML serializer.
getScriptName
public java.lang.String getScriptName()
- Returns false, as all CopyActions do not generate references. Being a reference
generator means that in the script they are able to determine the location
of the target files. Register actions will not generate a reference, but
will get either the default one, or one created by other actions, such as
the Copy action.
- Specified by:
getScriptName
in class OutputAction
makeScriptString
public java.lang.String makeScriptString(java.lang.String outputFile,
java.lang.String gateway)
- Specified by:
makeScriptString
in class OutputAction
Copyright © 2002-2004 STAR collaboration - Brookhaven National Laboratory. All Rights Reserved.