edu.isi.pegasus.planner.invocation
public class StatInfo extends Invocation
| Modifier and Type | Field and Description |
|---|---|
private Date |
m_atime
Contains the last access time timestamp.
|
private long |
m_blksize
Stores the blocksize of the file.
|
private long |
m_blocks
Stores the number of blocks of the file.
|
private Date |
m_ctime
Contains the creation time timestamp.
|
private int |
m_gid
group id of the owner of the file.
|
private String |
m_group
symbolical group name of the effective user.
|
private long |
m_inode
We store the inode number, which let's us reference a file uniquely
per filesystem.
|
private int |
m_mode
Is the number for the file mode.
|
private Date |
m_mtime
Contains the last modification time timestamp;
|
private long |
m_nlink
Stores the number of hard links to the file.
|
private long |
m_size
Denotes the size of the file.
|
private int |
m_uid
user id of the owner of the file.
|
private String |
m_user
symbolical user name of the effective user.
|
| Constructor and Description |
|---|
StatInfo()
Default c'tor: Construct a hollow shell and allow further
information to be added later.
|
| Modifier and Type | Method and Description |
|---|---|
Date |
getAccessTime()
Accessor
|
long |
getBlocks()
Accessor
|
long |
getBlockSize()
Accessor
|
Date |
getCreationTime()
Accessor
|
int |
getGID()
Accessor
|
String |
getGroup()
Accessor
|
long |
getINode()
Accessor
|
long |
getLinkCount()
Accessor
|
int |
getMode()
Accessor
|
Date |
getModificationTime()
Accessor
|
long |
getSize()
Accessor
|
int |
getUID()
Accessor
|
String |
getUser()
Accessor
|
void |
setAccessTime(Date atime)
Accessor.
|
void |
setBlocks(long blocks)
Accessor.
|
void |
setBlockSize(long blksize)
Accessor.
|
void |
setCreationTime(Date ctime)
Accessor.
|
void |
setGID(int gid)
Accessor.
|
void |
setGroup(String group)
Accessor.
|
void |
setINode(long inode)
Accessor.
|
void |
setLinkCount(long nlink)
Accessor.
|
void |
setMode(int mode)
Accessor.
|
void |
setModificationTime(Date mtime)
Accessor.
|
void |
setSize(long size)
Accessor.
|
void |
setUID(int uid)
Accessor.
|
void |
setUser(String user)
Accessor.
|
void |
toString(Writer stream)
Converts the active state into something meant for human consumption.
|
void |
toXML(Writer stream,
String indent,
String namespace)
Dump the state of the current element as XML output.
|
private int m_mode
private long m_size
private long m_inode
private long m_nlink
private long m_blksize
private long m_blocks
private Date m_atime
private Date m_ctime
private Date m_mtime
private int m_uid
private String m_user
private int m_gid
private String m_group
public StatInfo()
public int getMode()
setMode(int)public void setMode(int mode)
mode - getMode()public long getSize()
setSize(long)public void setSize(long size)
size - getSize()public long getINode()
setINode(long)public void setINode(long inode)
inode - getINode()public long getLinkCount()
setLinkCount(long)public void setLinkCount(long nlink)
nlink - getLinkCount()public long getBlockSize()
setBlockSize(long)public void setBlockSize(long blksize)
blksize - getBlockSize()public long getBlocks()
setBlocks(long)public void setBlocks(long blocks)
blocks - getBlocks()public Date getAccessTime()
setAccessTime(Date)public void setAccessTime(Date atime)
atime - getAccessTime()public Date getCreationTime()
setCreationTime(Date)public void setCreationTime(Date ctime)
ctime - getCreationTime()public Date getModificationTime()
setModificationTime(Date)public void setModificationTime(Date mtime)
mtime - getModificationTime()public int getUID()
setUID(int)public void setUID(int uid)
uid - getUID()public String getUser()
setUser(String)public int getGID()
setGID(int)public void setGID(int gid)
gid - getGID()public String getGroup()
setGroup(String)public void setGroup(String group)
group - getGroup()public void toString(Writer stream) throws IOException
toString in class org.griphyn.vdl.Chimerastream - is a stream opened and ready for writing. This can also
be a string stream for efficient output.IOException - if something fishy happens to the stream.public void toXML(Writer stream, String indent, String namespace) throws IOException
toXML in class org.griphyn.vdl.Chimerastream - is a stream opened and ready for writing. This can also
be a string stream for efficient output.indent - is a String of spaces used for pretty
printing. The initial amount of spaces should be an empty string.
The parameter is used internally for the recursive traversal.
If a null value is specified, no indentation nor
linefeeds will be generated.namespace - is the XML schema namespace prefix. If neither
empty nor null, each element will be prefixed with this prefix,
and the root element will map the XML namespace.IOException - if something fishy happens to the stream.BufferedWriter