|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FileProcessStrategy
Represents a strategy for marking that a file is processed.
Method Summary | |
---|---|
boolean |
begin(FileEndpoint endpoint,
FileExchange exchange,
File file)
Called when work is about to begin on this file. |
void |
commit(FileEndpoint endpoint,
FileExchange exchange,
File file)
Releases any file locks and possibly deletes or moves the file |
Method Detail |
---|
boolean begin(FileEndpoint endpoint, FileExchange exchange, File file) throws Exception
endpoint
- the endpointexchange
- the exchangefile
- the file
Exception
- can be thrown in case of errorsvoid commit(FileEndpoint endpoint, FileExchange exchange, File file) throws Exception
endpoint
- the endpointexchange
- the exchangefile
- the file
Exception
- can be thrown in case of errors
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |