|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.stanwood.media.setup.MediaDirConfig
public class MediaDirConfig
Used to store media directory configuration information
Constructor Summary | |
---|---|
MediaDirConfig()
|
Method Summary | |
---|---|
java.util.List<ActionConfig> |
getActions()
Used to get a list of actions to be performed on the media directory |
java.util.List<java.lang.String> |
getExtensions()
Used to get a list of valid extensions within the media directory |
java.util.List<java.util.regex.Pattern> |
getIgnorePatterns()
Used to get a list of patterns that will be tested against files in a media directory to work out if they should be ignored. |
boolean |
getIgnoreSeen()
Should seen files be ignored in the media directory |
java.io.File |
getMediaDir()
Used to get the media directory location |
Mode |
getMode()
Used to get the mode of the media directory |
java.lang.String |
getName()
Used to get the name of the media directory |
java.lang.String |
getPattern()
Used to get the media directory rename pattern |
java.util.List<SourceConfig> |
getSources()
Used to get a list of sources used by the media directory |
java.util.List<StoreConfig> |
getStores()
Used to get a list of stores used by the media directory |
boolean |
isDefaultForMode()
Used to find out if this is a default media directory for the mode been used |
void |
setActions(java.util.List<ActionConfig> actions)
Used to set a list of actions to be performed on the media directory |
void |
setDefaultForMode(boolean defaultForMode)
Used to set if this is a default media directory for the mode been used |
void |
setExtensions(java.util.List<java.lang.String> exts)
Used to set a list of valid extensions within the media directory |
void |
setIgnorePatterns(java.util.List<java.util.regex.Pattern> patterns)
Used to set a list of patterns that will be tested against files in a media directory to work out if they should be ignored. |
void |
setIgnoreSeen(boolean ignoreSeen)
Used to set if seen files be ignored in the media directory |
void |
setMediaDir(java.io.File mediaDir)
Used to set the media directory location |
void |
setMode(Mode mode)
Used to set the mode of the media directory |
void |
setName(java.lang.String name)
Used to set the name of the media directory |
void |
setPattern(java.lang.String pattern)
Used to set the media directory rename pattern |
void |
setSources(java.util.List<SourceConfig> sources)
Used to set a list of sources used by the media directory |
void |
setStores(java.util.List<StoreConfig> stores)
Used to set a list of stores used by the media directory |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MediaDirConfig()
Method Detail |
---|
public java.io.File getMediaDir()
public void setMediaDir(java.io.File mediaDir)
mediaDir
- the media directory locationpublic java.lang.String getPattern()
public void setPattern(java.lang.String pattern)
pattern
- the media directory rename patternpublic Mode getMode()
public void setMode(Mode mode)
mode
- the mode of the media directorypublic java.util.List<StoreConfig> getStores()
public void setStores(java.util.List<StoreConfig> stores)
stores
- a list of stores used by the media directorypublic java.util.List<SourceConfig> getSources()
public void setSources(java.util.List<SourceConfig> sources)
sources
- a list of sources used by the media directorypublic java.util.List<ActionConfig> getActions()
public void setActions(java.util.List<ActionConfig> actions)
actions
- a list of actions to be performed on the media directorypublic void setExtensions(java.util.List<java.lang.String> exts)
exts
- A list of valid extensions within the media directorypublic java.util.List<java.lang.String> getExtensions()
public void setIgnorePatterns(java.util.List<java.util.regex.Pattern> patterns)
patterns
- The list of patternspublic java.util.List<java.util.regex.Pattern> getIgnorePatterns()
public boolean getIgnoreSeen()
public void setIgnoreSeen(boolean ignoreSeen)
ignoreSeen
- true if seen files should be ignoredpublic void setName(java.lang.String name)
name
- The name of the media directorypublic java.lang.String getName()
public boolean isDefaultForMode()
public void setDefaultForMode(boolean defaultForMode)
defaultForMode
- True if default
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |