public interface Deployer
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(File file)
Does the current deployer accept the given file.
|
void |
close()
Callback called when the deployer is closed.
|
void |
onFileChange(File file)
Callback called when an accepted file is updated.
|
void |
onFileCreate(File file)
Callback called when an accepted file is created.
|
void |
onFileDelete(File file)
Callback called when an accepted file is deleted.
|
void |
open(Collection<File> files)
Method called when the deployer is initialized.
|
boolean accept(File file)
file - the filevoid onFileCreate(File file)
file - the new filevoid onFileChange(File file)
file - the updated filevoid onFileDelete(File file)
file - the filevoid open(Collection<File> files)
files - the set of accepted file currently present is a monitored directory.void close()
Copyright © 2009–2014 OW2 Chameleon. All rights reserved.