public class FileStatusMessage extends ClusterMessage
Contains the details of a file status update.
AllNodes
Constructor and Description |
---|
FileStatusMessage()
Default constructor
|
FileStatusMessage(java.lang.String targetNode,
java.lang.String path,
int fileSts)
Class constructor
|
Modifier and Type | Method and Description |
---|---|
int |
getFileStatus()
Return the new file status
|
java.lang.String |
getPath()
Return the normalized path of the file/folder
|
java.lang.String |
toString()
Return the file status message as a string
|
getFromNode, getTargetNode, hasFromNode, isAllNodes, isFromLocalNode, isType
public FileStatusMessage()
public FileStatusMessage(java.lang.String targetNode, java.lang.String path, int fileSts)
targetNode
- Stringpath
- Stringpublic final java.lang.String getPath()
public final int getFileStatus()
public java.lang.String toString()
toString
in class ClusterMessage
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.