Class MountStatus
java.lang.Object
com.emc.ecs.nfsclient.mount.MountStatus
- All Implemented Interfaces:
Serializable
Holder for the mount status values, as specified by RFC 1813
(https://tools.ietf.org/html/rfc1813).
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final MountStatusNo error.static final MountStatusPermission denied.static final MountStatusInvalid argument.static final MountStatusI/O error.static final MountStatusFilename too long.static final MountStatusNo such file or directory.static final MountStatusNot a directory.static final MountStatusOperation not supported.static final MountStatusNot owner.static final MountStatusA failure on the server. -
Method Summary
Modifier and TypeMethodDescriptionstatic MountStatusfromValue(int value) Convenience function to get the instance from the int status value.intgetValue()Returns the int status value.toString()
-
Field Details
-
MNT3_OK
No error. -
MNT3ERR_PERM
Not owner. -
MNT3ERR_NOENT
No such file or directory. -
MNT3ERR_IO
I/O error. -
MNT3ERR_ACCES
Permission denied. -
MNT3ERR_NOTDIR
Not a directory. -
MNT3ERR_INVAL
Invalid argument. -
MNT3ERR_NAMETOOLONG
Filename too long. -
MNT3ERR_NOTSUPP
Operation not supported. -
MNT3ERR_SERVERFAULT
A failure on the server.
-
-
Method Details
-
fromValue
Convenience function to get the instance from the int status value.- Parameters:
value- The int status value.- Returns:
- The instance.
-
getValue
public int getValue()Returns the int status value. -
toString
-