| java.lang.Object org.openharmonise.vfs.context.ContextEvent
ContextEvent | public class ContextEvent (Code) | | The context event is the data exchange object for messages passed
through the context handler. Most events contain a virtual file system
and virtual file full path. The context event can also contain an object
which implements the context data marker interface, for more complex
context type specific information.
author: Matthew Large version: $Revision: 1.1 $ |
ContextEvent | public ContextEvent(ContextType contextType)(Code) | | Constructs a new context event.
Parameters: contextType - Context type |
ContextEvent | public ContextEvent(ContextType contextType, String sMessage)(Code) | | Constructs a new context event.
Parameters: contextType - Context type Parameters: sMessage - General message |
ContextEvent | public ContextEvent(ContextType contextType, String sMessage, AbstractVirtualFileSystem vfs, String sPath)(Code) | | Constructs a new context event.
Parameters: contextType - Context type Parameters: sMessage - General message Parameters: vfs - Virtual file system Parameters: sPath - Full path |
getContextData | public ContextData getContextData()(Code) | | Returns the context type specific data.
Context data |
getMessage | public String getMessage()(Code) | | Returns the general message.
Message |
getPath | public String getPath()(Code) | | Returns the full path.
Full path |
setContextData | public void setContextData(ContextData contextData)(Code) | | Sets the context type specific data.
Parameters: contextData - Context data |
|
|