org.rhq.core.pluginapi.event.log
Class LogFileInfo
java.lang.Object
org.hyperic.sigar.FileAttrs
org.hyperic.sigar.FileInfo
org.rhq.core.pluginapi.event.log.LogFileInfo
- All Implemented Interfaces:
- Serializable
public class LogFileInfo
- extends org.hyperic.sigar.FileInfo
- See Also:
- Serialized Form
Fields inherited from class org.hyperic.sigar.FileInfo |
MODE_GEXECUTE, MODE_GREAD, MODE_GWRITE, MODE_UEXECUTE, MODE_UREAD, MODE_UWRITE, MODE_WEXECUTE, MODE_WREAD, MODE_WWRITE, TYPE_BLK, TYPE_CHR, TYPE_DIR, TYPE_LNK, TYPE_NOFILE, TYPE_PIPE, TYPE_REG, TYPE_SOCK, TYPE_UNKFILE |
LogFileInfo
public LogFileInfo(org.hyperic.sigar.FileInfo fileInfo)
LogFileInfo
public LogFileInfo()
getTypeString
public String getTypeString()
- Overrides:
getTypeString
in class org.hyperic.sigar.FileInfo
getTypeChar
public char getTypeChar()
- Overrides:
getTypeChar
in class org.hyperic.sigar.FileInfo
getName
public String getName()
- Overrides:
getName
in class org.hyperic.sigar.FileInfo
hashCode
public int hashCode()
- Overrides:
hashCode
in class org.hyperic.sigar.FileInfo
equals
public boolean equals(Object o)
- Overrides:
equals
in class org.hyperic.sigar.FileInfo
getPermissionsString
public String getPermissionsString()
- Overrides:
getPermissionsString
in class org.hyperic.sigar.FileInfo
getMode
public int getMode()
- Overrides:
getMode
in class org.hyperic.sigar.FileInfo
enableDirStat
public void enableDirStat(boolean value)
- Overrides:
enableDirStat
in class org.hyperic.sigar.FileInfo
diff
public String diff()
- Overrides:
diff
in class org.hyperic.sigar.FileInfo
diff
public String diff(org.hyperic.sigar.DirStat stat)
- Overrides:
diff
in class org.hyperic.sigar.FileInfo
diff
public String diff(org.hyperic.sigar.FileInfo info)
- Overrides:
diff
in class org.hyperic.sigar.FileInfo
getPreviousInfo
public org.hyperic.sigar.FileInfo getPreviousInfo()
- Overrides:
getPreviousInfo
in class org.hyperic.sigar.FileInfo
modified
public boolean modified()
throws org.hyperic.sigar.SigarException,
org.hyperic.sigar.SigarFileNotFoundException
- Overrides:
modified
in class org.hyperic.sigar.FileInfo
- Throws:
org.hyperic.sigar.SigarException
org.hyperic.sigar.SigarFileNotFoundException
changed
public boolean changed()
throws org.hyperic.sigar.SigarException,
org.hyperic.sigar.SigarFileNotFoundException
- Overrides:
changed
in class org.hyperic.sigar.FileInfo
- Throws:
org.hyperic.sigar.SigarException
org.hyperic.sigar.SigarFileNotFoundException
stat
public void stat()
throws org.hyperic.sigar.SigarException,
org.hyperic.sigar.SigarFileNotFoundException
- Overrides:
stat
in class org.hyperic.sigar.FileInfo
- Throws:
org.hyperic.sigar.SigarException
org.hyperic.sigar.SigarFileNotFoundException
gather
public void gather(org.hyperic.sigar.Sigar sigar,
String s)
throws org.hyperic.sigar.SigarException
- Overrides:
gather
in class org.hyperic.sigar.FileAttrs
- Throws:
org.hyperic.sigar.SigarException
getPermissions
public long getPermissions()
- Overrides:
getPermissions
in class org.hyperic.sigar.FileAttrs
getType
public int getType()
- Overrides:
getType
in class org.hyperic.sigar.FileAttrs
getUid
public long getUid()
- Overrides:
getUid
in class org.hyperic.sigar.FileAttrs
getGid
public long getGid()
- Overrides:
getGid
in class org.hyperic.sigar.FileAttrs
getInode
public long getInode()
- Overrides:
getInode
in class org.hyperic.sigar.FileAttrs
getDevice
public long getDevice()
- Overrides:
getDevice
in class org.hyperic.sigar.FileAttrs
getNlink
public long getNlink()
- Overrides:
getNlink
in class org.hyperic.sigar.FileAttrs
getSize
public long getSize()
- Overrides:
getSize
in class org.hyperic.sigar.FileAttrs
getAtime
public long getAtime()
- Overrides:
getAtime
in class org.hyperic.sigar.FileAttrs
getCtime
public long getCtime()
- Overrides:
getCtime
in class org.hyperic.sigar.FileAttrs
getMtime
public long getMtime()
- Overrides:
getMtime
in class org.hyperic.sigar.FileAttrs
toMap
public Map toMap()
- Overrides:
toMap
in class org.hyperic.sigar.FileAttrs
toString
public String toString()
- Overrides:
toString
in class org.hyperic.sigar.FileAttrs
Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.