Class ClusterFileSystemAddEvent

  • All Implemented Interfaces:
    IPortalEvent

    @StableMinor(version="17.0",
                 sinceVersion="6.0")
    public class ClusterFileSystemAddEvent
    extends FileSystemAddEvent
    Event raised when a file has been added and will propagate to the whole cluster.

    This event is raised only once in a portal cluster for each logical file. When the file change is replicated to other portal nodes, the FileSystemAddEvent is raised instead.

    Since:
    6.0.0
    Version:
    $Revision: 26587 $ $Date: 2024-08-26 21:09:17 -0300 (Mon, 26 Aug 2024) $
    See Also:
    FileSystemAddEvent
    • Constructor Detail

      • ClusterFileSystemAddEvent

        public ClusterFileSystemAddEvent​(IFile file)
        Creates a new cluster add filesystem event.
        Parameters:
        file - the affected file or folder.
        Since:
        8.0.0
      • ClusterFileSystemAddEvent

        @Deprecated
        public ClusterFileSystemAddEvent​(PortalFile file)
        Deprecated.
        since 8.0.0 replaced by ClusterFileSystemAddEvent(IFile)
        Default constructor.
        Parameters:
        file - The file to be added.
        Since:
        6.0.0
    • Method Detail

      • toString

        public java.lang.String toString()
        Description copied from interface: IPortalEvent
        Returns a string representation for this event. This representation is mostly suited for debugging and logging.
        Specified by:
        toString in interface IPortalEvent
        Overrides:
        toString in class FileSystemAddEvent
        Returns:
        a string representation for this event.