public class ServerDirectoryPathAction extends ServiceableAction
Modifier and Type | Field and Description |
---|---|
private SourceResolver |
_sourceResolver
Excalibur's source resolver
|
manager
EMPTY_MAP
Constructor and Description |
---|
ServerDirectoryPathAction() |
Modifier and Type | Method and Description |
---|---|
private Set<Source> |
_getValidServerDirectories(String path)
Look for valid directories inside of a path.
|
Map |
act(Redirector redirector,
SourceResolver resolver,
Map objectModel,
String source,
Parameters parameters) |
void |
service(ServiceManager smanager) |
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
private SourceResolver _sourceResolver
public ServerDirectoryPathAction()
public void service(ServiceManager smanager) throws ServiceException
service
in interface Serviceable
service
in class ServiceableAction
ServiceException
public Map act(Redirector redirector, SourceResolver resolver, Map objectModel, String source, Parameters parameters) throws Exception
Exception
private Set<Source> _getValidServerDirectories(String path) throws ProcessingException
path
- The path. It can be incomplete and a partial path will be used to match multiple folders.ProcessingException
- if an error occurs when retrieving the list of valid server directories