|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--com.glaivestone.javax.util.StatusValue
|
+--com.glaivestone.javax.io.FileSystemOperationResult
A status result for operations which involve multiple file system elements.
| Field Summary |
| Fields inherited from class com.glaivestone.javax.util.StatusValue |
FAILED, PARTIALLY_SUCCEEDED, SUCCEEDED, SUCCESS_RESULT |
| Constructor Summary | |
FileSystemOperationResult()
Create a new operation result status. |
|
| Method Summary | |
int |
getNumberOfAffectedElements()
Answer the number of file system elements successfully handled by the operation, |
int |
getNumberOfProblems()
Answer the number of file system elements which had problems during the operation, |
java.util.List |
getProblems()
Answer a list containing the problem reports from the operation. |
int |
getStatusCode()
Answer the status code. |
void |
reportProblem(java.io.File aFileSystemElement,
java.lang.Throwable ex)
Report a problem processing a file system element |
void |
reportSuccess(java.io.File aFileSystemElement)
Report successful processing of a file system element |
| Methods inherited from class com.glaivestone.javax.util.StatusValue |
failed, getMessage, setMessage, succeeded, succeededCompletely, succeededPartially |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public FileSystemOperationResult()
| Method Detail |
public int getNumberOfAffectedElements()
public int getNumberOfProblems()
public java.util.List getProblems()
public void reportProblem(java.io.File aFileSystemElement,
java.lang.Throwable ex)
public int getStatusCode()
getStatusCode in class StatusValuepublic void reportSuccess(java.io.File aFileSystemElement)
|
GFL 1.1 API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||