Class AccessControlChangeFailure


  • public class AccessControlChangeFailure
    extends Object
    Represents an entry that failed to update Access Control List.
    • Constructor Detail

      • AccessControlChangeFailure

        public AccessControlChangeFailure()
    • Method Detail

      • getName

        public String getName()
        Returns the name of an entry.
        Returns:
        The name of an entry.
      • setName

        public AccessControlChangeFailure setName​(String name)
        Sets the name of an entry.
        Parameters:
        name - The name of an entry.
        Returns:
        The updated object.
      • isDirectory

        public boolean isDirectory()
        Returns whether entry is a directory.
        Returns:
        Whether the entry is a directory.
      • setDirectory

        public AccessControlChangeFailure setDirectory​(boolean directory)
        Sets whether entry is a directory.
        Parameters:
        directory - Whether entry is a directory.
        Returns:
        The updated object.
      • getErrorMessage

        public String getErrorMessage()
        Returns error message that is the reason why entry failed to update.
        Returns:
        The error message that is the reason why entry failed to update.
      • setErrorMessage

        public AccessControlChangeFailure setErrorMessage​(String errorMessage)
        Sets the error message that is the reason why entry failed to update.
        Parameters:
        errorMessage - The error message that is the reason why entry failed to update.
        Returns:
        The updated object.