public class DropBoxDirectoryCheck extends Object implements org.springframework.context.ApplicationListener, Runnable
UserGroupUpdateEvent
messages and creates a new
directory if necessary.Modifier and Type | Field and Description |
---|---|
static org.apache.commons.logging.Log |
log |
Constructor and Description |
---|
DropBoxDirectoryCheck(String omeroDataDir,
ome.util.SqlAction sql) |
Modifier and Type | Method and Description |
---|---|
int |
createUserDirectories(Set<String> users) |
Set<String> |
getCurrentUserNames() |
void |
onApplicationEvent(org.springframework.context.ApplicationEvent arg0)
Handle an application event.
|
void |
run()
Synchronizes the ${omero.data.dir}/DropBox directory by creating a
directory for any user who does not have one.
|
public DropBoxDirectoryCheck(String omeroDataDir, ome.util.SqlAction sql)
public void onApplicationEvent(org.springframework.context.ApplicationEvent arg0)
org.springframework.context.ApplicationListener
onApplicationEvent
in interface org.springframework.context.ApplicationListener
arg0
- the event to respond topublic void run()
Version: 4.4.12-ice34-b116
Copyright © 2014 The University of Dundee & Open Microscopy Environment. All Rights Reserved.