Package lumis.portal.filesystem.event
Class ClusterFileSystemAddEvent
- java.lang.Object
-
- lumis.portal.event.AbstractPortalEvent
-
- lumis.portal.filesystem.event.FileSystemEvent
-
- lumis.portal.filesystem.event.FileSystemAddEvent
-
- lumis.portal.filesystem.event.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$ $Date$
- See Also:
FileSystemAddEvent
-
-
Constructor Summary
Constructors Constructor Description ClusterFileSystemAddEvent(IFile file)
Creates a new cluster add filesystem event.ClusterFileSystemAddEvent(PortalFile file)
Deprecated.since 8.0.0 replaced byClusterFileSystemAddEvent(IFile)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
toString()
Returns a string representation for this event.-
Methods inherited from class lumis.portal.filesystem.event.FileSystemEvent
getFile, getPortalFile
-
Methods inherited from class lumis.portal.event.AbstractPortalEvent
getEventGroups, getOperationType, setEventGroups, setOperationType
-
-
-
-
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 byClusterFileSystemAddEvent(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 interfaceIPortalEvent
- Overrides:
toString
in classFileSystemAddEvent
- Returns:
- a string representation for this event.
-
-