public class HeadNodeFS extends AbstractSiteData
Modifier and Type | Field and Description |
---|---|
private Profiles |
mProfiles
The profiles associated with the headnode filesystem.
|
private HeadNodeScratch |
mScratch
The scratch area on the head node.
|
private HeadNodeStorage |
mStorage
The storage area on the head node.
|
Constructor and Description |
---|
HeadNodeFS()
The default constructor.
|
HeadNodeFS(HeadNodeScratch scratch,
HeadNodeStorage storage)
The overloaded constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
accept(SiteDataVisitor visitor)
Accepts the visitor and calls visit method on the visitor accordingly
|
void |
addProfile(Profile p)
Adds a profile.
|
Object |
clone()
Returns the clone of the object.
|
Profiles |
getProfiles()
Returns the profiles associated with the file server.
|
HeadNodeScratch |
getScratch()
Returns the scratch area on the head node.
|
HeadNodeStorage |
getStorage()
Returns the storage area on the head node.
|
void |
setProfiles(Profiles profiles)
Sets the profiles associated with the file server.
|
void |
setScratch(HeadNodeScratch scratch)
Sets the scratch area on the head node.
|
void |
setStorage(HeadNodeStorage storage)
Sets the storage area on the head node.
|
void |
toXML(Writer writer,
String indent)
Writes out the xml description of the object.
|
toString, toXML, writeAttribute
private HeadNodeScratch mScratch
private HeadNodeStorage mStorage
private Profiles mProfiles
public HeadNodeFS()
public HeadNodeFS(HeadNodeScratch scratch, HeadNodeStorage storage)
scratch
- the scratch area.storage
- the storage area.public void setScratch(HeadNodeScratch scratch)
scratch
- the scratch area.public HeadNodeScratch getScratch()
public void setStorage(HeadNodeStorage storage)
storage
- the storage area.public HeadNodeStorage getStorage()
public void addProfile(Profile p)
p
- the profile to be addedpublic Profiles getProfiles()
public void setProfiles(Profiles profiles)
profiles
- the profiles.public void toXML(Writer writer, String indent) throws IOException
toXML
in class AbstractSiteData
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.public Object clone()
clone
in class AbstractSiteData
public void accept(SiteDataVisitor visitor) throws IOException
accept
in class AbstractSiteData
visitor
- IOException
- if something fishy happens to the stream.