public class ConfigurationBean
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
configurationType
The URI of the RDF type for an instance of configuration.
|
static java.lang.String |
DEFAULT_CONF_ONTO
Default namespace of the configuration ontology used here.
|
static java.lang.String |
DEFAULT_CONF_TYPE
Default URI of the Configuration type.
|
static java.lang.String |
DEFAULT_HAS_CONFIGURATION_URI
Default property that links a service URI with an instance of configuration.
|
static java.lang.String |
DEFAULT_HAS_FOLDER_TO_CRAWL
Default property that links an instance of configuration with is folder to crawl.
|
static java.lang.String |
DEFAULT_IS_LINKED_TO_CONTEXT
Default property that links an instance of configuration with its usageContext.
|
static java.lang.String |
DEFAULT_SERVICE_URI
The default service URI
|
protected java.lang.String |
defaultPath
The default path to be used by null or empty usageContext.
|
protected org.apache.commons.io.filefilter.IOFileFilter |
directoryFilter
The filter to be applied on each directory found while iterating.
|
protected org.apache.commons.io.filefilter.IOFileFilter |
fileFilter
The filter to be applied on each file found while iterating.
|
protected java.lang.String |
hasConfiguration
The URI of the property that links a service URI with an instance of configuration.
|
protected java.lang.String |
hasFolderToCrawl
The URI of the property that links an instance of configuration with the folder to crawl.
|
protected java.lang.String |
isLinkedToContext
The URI of the property that links an instance of configuration with it's usageContext.
|
protected boolean |
removeFiles
Whether to remove files after accessing them from the iterator.
|
protected java.lang.String |
serviceUri
The URI of the service.
|
protected boolean |
useDefaultPathForNotConfigured
Whether the defaultPath should also be used by unknown usageContexts, instead of throwing a ServiceNotConfiguredException.
|
| Constructor and Description |
|---|
ConfigurationBean() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getConfigurationType() |
java.lang.String |
getDefaultFolder() |
java.lang.String |
getDefaultPath() |
org.apache.commons.io.filefilter.IOFileFilter |
getDirectoryFilter() |
org.apache.commons.io.filefilter.IOFileFilter |
getFileFilter() |
java.lang.String |
getHasConfiguration() |
java.lang.String |
getHasFolderToCrawl() |
java.lang.String |
getIsLinkedToContext() |
java.lang.String |
getServiceUri() |
boolean |
isRemoveFiles() |
boolean |
isUseDefaultPathForNotConfigured() |
void |
setConfigurationType(java.lang.String configurationType) |
void |
setDefaultPath(java.lang.String defaultPath) |
void |
setDirectoryFilter(org.apache.commons.io.filefilter.IOFileFilter directoryFilter) |
void |
setFileFilter(org.apache.commons.io.filefilter.IOFileFilter fileFilter) |
void |
setHasConfiguration(java.lang.String hasConfiguration) |
void |
setHasFolderToCrawl(java.lang.String hasFolderToCrawl) |
void |
setIsLinkedToContext(java.lang.String isLinkedToContext) |
void |
setRemoveFiles(boolean removeFiles) |
void |
setServiceUri(java.lang.String serviceUri) |
void |
setUseDefaultPathForNotConfigured(boolean useDefaultPathForNotConfigured) |
java.lang.String |
toString() |
public static final java.lang.String DEFAULT_CONF_ONTO
public static final java.lang.String DEFAULT_CONF_TYPE
public static final java.lang.String DEFAULT_HAS_CONFIGURATION_URI
public static final java.lang.String DEFAULT_HAS_FOLDER_TO_CRAWL
public static final java.lang.String DEFAULT_IS_LINKED_TO_CONTEXT
public static final java.lang.String DEFAULT_SERVICE_URI
protected java.lang.String configurationType
protected java.lang.String defaultPath
null.protected org.apache.commons.io.filefilter.IOFileFilter directoryFilter
protected org.apache.commons.io.filefilter.IOFileFilter fileFilter
protected java.lang.String hasConfiguration
protected java.lang.String hasFolderToCrawl
protected java.lang.String isLinkedToContext
protected boolean removeFiles
false.protected java.lang.String serviceUri
protected boolean useDefaultPathForNotConfigured
false.public java.lang.String getConfigurationType()
public java.lang.String getDefaultFolder()
public java.lang.String getDefaultPath()
public org.apache.commons.io.filefilter.IOFileFilter getDirectoryFilter()
public org.apache.commons.io.filefilter.IOFileFilter getFileFilter()
public java.lang.String getHasConfiguration()
public java.lang.String getHasFolderToCrawl()
public java.lang.String getIsLinkedToContext()
public java.lang.String getServiceUri()
public boolean isRemoveFiles()
public boolean isUseDefaultPathForNotConfigured()
public void setConfigurationType(java.lang.String configurationType)
configurationType - the configurationType to setpublic void setDefaultPath(java.lang.String defaultPath)
defaultPath - the defaultPath to setpublic void setDirectoryFilter(org.apache.commons.io.filefilter.IOFileFilter directoryFilter)
directoryFilter - the directoryFilter to setpublic void setFileFilter(org.apache.commons.io.filefilter.IOFileFilter fileFilter)
fileFilter - the fileFilter to setpublic void setHasConfiguration(java.lang.String hasConfiguration)
hasConfiguration - the hasConfiguration to setpublic void setHasFolderToCrawl(java.lang.String hasFolderToCrawl)
hasFolderToCrawl - the hasFolderToCrawl to setpublic void setIsLinkedToContext(java.lang.String isLinkedToContext)
isLinkedToContext - the isLinkedToContext to setpublic void setRemoveFiles(boolean removeFiles)
removeFiles - the removeFiles to setpublic void setServiceUri(java.lang.String serviceUri)
serviceUri - the serviceUri to setpublic void setUseDefaultPathForNotConfigured(boolean useDefaultPathForNotConfigured)
useDefaultPathForNotConfigured - the useDefaultPathForNotConfigured to setpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2004-2012. All Rights Reserved.