public class System
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
System() |
Modifier and Type | Method and Description |
---|---|
void |
addPicExtension(java.lang.String pe) |
static java.lang.String |
getDUid(java.lang.String setName,
int size)
Return the jdbc Uid string (uses _ instead of -)
|
java.lang.String |
getEngineCronExpression() |
java.lang.String |
getImportDirectory()
Return the directory to look for new pics in (like from the camera n:/blah)
|
int |
getImportsToDo() |
int |
getMosaicDepth() |
int |
getMosaicPicsPerPage() |
java.lang.String |
getMosaicThumbCacheDir() |
int |
getMosaicThumbCacheHeight() |
int |
getMosaicThumbHeight() |
java.util.List<java.lang.String> |
getPicExtensions() |
java.lang.String |
getSyncUrl() |
java.lang.String |
getThumbCacheDirectory() |
int |
getThumbCacheSize()
Fetch the max number of files (thumbs) to put in each thumb cache subdirectory.
|
int |
getThumbHeight() |
static java.lang.String |
getUuid(java.lang.String set,
int size)
Return a String which is the Uuid of a set/size combo.
|
static java.lang.String |
getUuid(java.lang.String setName,
int size,
int item)
Return a String which is the Uuid of a set/size/item combo
|
int |
getVirginsToDo() |
boolean |
isBuildMosaicPic()
Should we / are we building a Mosaic?
|
boolean |
isCalcMosaicVectors()
Are we / should we build the Mosaic vectors?
|
boolean |
isEngineOn() |
boolean |
isEngineRunOnce() |
boolean |
isJobLogSummaryOnly()
Do we only want a summary of jobs in the log?
|
boolean |
isShowRateOnPics() |
boolean |
isSkipXThumbs() |
boolean |
isSyncEnable() |
boolean |
isUpdateMD5Sums()
Are we / should we update the MD5 signatures for the pics?
The first 20374 pictures went into the database with no MD5 signature.
|
boolean |
isUpdateMlbFilters()
Should we run the MlbFilterFixer?
|
boolean |
isUpdatePicSize()
Are we / should we update the Pic sizes in the database?
The first 12702 pictures went into the database with a 0/0 size.
|
boolean |
isUseThumbCache() |
void |
setBuildMosaicPic(boolean buildMosaicPic) |
void |
setCalcMosaicVectors(boolean calcMosaicVectors) |
void |
setEngineCronExpression(java.lang.String s) |
void |
setEngineOn(boolean engineOn) |
void |
setEngineRunOnce(boolean engineRunOnce) |
void |
setImportDirectory(java.lang.String importDirectory) |
void |
setImportsToDo(int importsToDo) |
void |
setJobLogSummaryOnly(boolean jobLogSummaryOnly) |
void |
setMosaicDepth(int mosaicDepth) |
void |
setMosaicPicsPerPage(int mosaicPicsPerPage) |
void |
setMosaicThumbCacheDir(java.lang.String mosaicThumbCacheDir) |
void |
setMosaicThumbCacheHeight(int mosaicThumbCacheHeight) |
void |
setMosaicThumbHeight(int mosaicThumbHeight) |
void |
setPicExtensions(java.util.LinkedList<java.lang.String> ll) |
void |
setShowRateOnPics(boolean showRateOnPics) |
void |
setSkipXThumbs(boolean skipXThumbs) |
void |
setSyncEnable(boolean syncEnable) |
void |
setSyncUrl(java.lang.String syncUrl) |
void |
setThumbCacheDirectory(java.lang.String s) |
void |
setThumbCacheSize(int thumbCacheSize)
The thumbCache is segregated into subdirectories beneath the main thumbCacheDirectory.
|
void |
setThumbHeight(int c) |
void |
setUpdateMD5Sums(boolean updateMD5s)
Update the MD5 signatures.
|
void |
setUpdateMlbFilters(boolean updateMlbFilters) |
void |
setUpdatePicSize(boolean updatePicSize) |
void |
setUseThumbCache(boolean b) |
void |
setVirginsToDo(int virginsToDo) |
public java.util.List<java.lang.String> getPicExtensions()
public void setPicExtensions(java.util.LinkedList<java.lang.String> ll)
public void addPicExtension(java.lang.String pe)
public int getThumbHeight()
public void setThumbHeight(int c)
public boolean isUseThumbCache()
public void setUseThumbCache(boolean b)
public java.lang.String getThumbCacheDirectory()
public void setThumbCacheDirectory(java.lang.String s)
public int getVirginsToDo()
public void setVirginsToDo(int virginsToDo)
public int getImportsToDo()
public void setImportsToDo(int importsToDo)
public boolean isEngineOn()
public void setEngineOn(boolean engineOn)
public boolean isEngineRunOnce()
public void setEngineRunOnce(boolean engineRunOnce)
public java.lang.String getEngineCronExpression()
public void setEngineCronExpression(java.lang.String s)
public int getMosaicDepth()
public void setMosaicDepth(int mosaicDepth)
public int getThumbCacheSize()
public void setThumbCacheSize(int thumbCacheSize)
thumbCacheSize
- the thumbCacheSize to setpublic int getMosaicThumbHeight()
public void setMosaicThumbHeight(int mosaicThumbHeight)
mosaicThumbHeight
- the mosaicThumbHeight to setpublic int getMosaicPicsPerPage()
public void setMosaicPicsPerPage(int mosaicPicsPerPage)
mosaicPicsPerPage
- the mosaicPicsPerPage to setpublic java.lang.String getMosaicThumbCacheDir()
public void setMosaicThumbCacheDir(java.lang.String mosaicThumbCacheDir)
mosaicThumbCacheDir
- the mosaicThumbCacheDir to setpublic int getMosaicThumbCacheHeight()
public void setMosaicThumbCacheHeight(int mosaicThumbCacheHeight)
mosaicThumbCacheHeight
- the mosaicThumbCacheHeight to setpublic java.lang.String getImportDirectory()
public void setImportDirectory(java.lang.String importDirectory)
importDirectory
- the importDirectory to setpublic boolean isSkipXThumbs()
public void setSkipXThumbs(boolean skipXThumbs)
skipXThumbs
- The skipXThumbs to set.public boolean isShowRateOnPics()
public void setShowRateOnPics(boolean showRateOnPics)
showRateOnPics
- the showRateOnPics to setpublic boolean isJobLogSummaryOnly()
public void setJobLogSummaryOnly(boolean jobLogSummaryOnly)
jobLogSummaryOnly
- the jobLogSummaryOnly to setpublic boolean isBuildMosaicPic()
public void setBuildMosaicPic(boolean buildMosaicPic)
buildMosaicPic
- the buildMosaicPic to setpublic boolean isCalcMosaicVectors()
public void setCalcMosaicVectors(boolean calcMosaicVectors)
calcMosaicVectors
- the calcMosaicVectors to setpublic boolean isSyncEnable()
public void setSyncEnable(boolean syncEnable)
public java.lang.String getSyncUrl()
public void setSyncUrl(java.lang.String syncUrl)
public boolean isUpdatePicSize()
public void setUpdatePicSize(boolean updatePicSize)
updatePicSize
- the updatePicSize to setpublic boolean isUpdateMlbFilters()
public void setUpdateMlbFilters(boolean updateMlbFilters)
updateMlbFilters
- the updateMlbFilters to setpublic boolean isUpdateMD5Sums()
public void setUpdateMD5Sums(boolean updateMD5s)
updateMD5s
- yes or no.public static java.lang.String getUuid(java.lang.String setName, int size, int item)
public static java.lang.String getUuid(java.lang.String set, int size)
public static java.lang.String getDUid(java.lang.String setName, int size)