edu.isi.pegasus.planner.catalog.site.classes
public class WorkerNodeScratch extends StorageType
Modifier and Type | Field and Description |
---|---|
protected WorkerSharedDirectory |
mWorkerShared
The directory shared only amongst the worker nodes.
|
mLocalDirectory, mSharedDirectory
Constructor and Description |
---|
WorkerNodeScratch()
The default constructor
|
WorkerNodeScratch(LocalDirectory local,
SharedDirectory shared)
The overloaded constructor.
|
WorkerNodeScratch(StorageType type)
The overloaded constructor
|
Modifier and Type | Method and Description |
---|---|
Object |
clone()
Returns the clone of the object.
|
WorkerSharedDirectory |
getWorkerSharedDirectory()
Returns the directory shared amongst the worker nodes only.
|
void |
setWorkerSharedDirectory(WorkerSharedDirectory directory)
Sets the directory shared amongst the worker nodes only.
|
void |
toXML(Writer writer,
String indent)
Writes out the xml description of the object.
|
accept, getLocalDirectory, getSharedDirectory, setLocalDirectory, setLocalDirectory, setSharedDirectory, setSharedDirectory
toString, toXML, writeAttribute
protected WorkerSharedDirectory mWorkerShared
public WorkerNodeScratch()
public WorkerNodeScratch(StorageType type)
type
- StorageTypepublic WorkerNodeScratch(LocalDirectory local, SharedDirectory shared)
local
- the local directory on the node.shared
- the shared directory on the node.public void setWorkerSharedDirectory(WorkerSharedDirectory directory)
directory
- the worker node shared directory.public WorkerSharedDirectory getWorkerSharedDirectory()
public Object clone()
clone
in class StorageType
public void toXML(Writer writer, String indent) throws IOException
toXML
in class StorageType
writer
- is a Writer opened and ready for writing. This can also
be a StringWriter for efficient output.indent
- the indent to be used.IOException
- if something fishy happens to the stream.