Class FarmJobParameters
java.lang.Object
org.biojava.nbio.structure.align.client.FarmJobParameters
- 
Field Summary
Fields - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionintinthow many pairs should be requested for alignment from server?intintgetTime()booleanFlag if a job that only runs one parallell job should be run in its own thread or in the main thread.booleanbooleanFlag if the job should be run in verbose mode.voidsetCacheFilePath(String cacheFilePath) voidsetNrAlignments(int nrAlignments) voidsetPdbFilePath(String pdbFilePath) voidsetRunBackground(boolean runBackground) voidvoidsetStepSize(int stepSize) voidsetThreads(int threads) voidsetTime(int time) voidsetUpdateRemediatedFiles(boolean updateRemediatedFiles) voidsetUsername(String username) voidsetVerbose(boolean verbose) toString() 
- 
Field Details
- 
DEFAULT_JOB_TIME
public static final int DEFAULT_JOB_TIME- See Also:
 
 - 
DEFAULT_NR_ALIGNMENTS
public static final int DEFAULT_NR_ALIGNMENTS- See Also:
 
 - 
DEFAULT_NR_THREADS
public static final int DEFAULT_NR_THREADS- See Also:
 
 - 
DEFAULT_SERVER_URL
 - 
DEFAULT_PDB_PATH
- See Also:
 
 - 
DEFAULT_BATCH_SIZE
public static final int DEFAULT_BATCH_SIZE- See Also:
 
 
 - 
 - 
Constructor Details
- 
FarmJobParameters
public FarmJobParameters() 
 - 
 - 
Method Details
- 
getPdbFilePath
 - 
setPdbFilePath
 - 
getCacheFilePath
 - 
setCacheFilePath
 - 
getNrAlignments
public int getNrAlignments() - 
setNrAlignments
public void setNrAlignments(int nrAlignments)  - 
getTime
public int getTime() - 
setTime
public void setTime(int time)  - 
getThreads
public int getThreads() - 
setThreads
public void setThreads(int threads)  - 
getServer
 - 
setServer
 - 
getUsername
 - 
setUsername
 - 
isRunBackground
public boolean isRunBackground()Flag if a job that only runs one parallell job should be run in its own thread or in the main thread. For User interface related apps should be set to true. Default: false;- Returns:
 - flag
 
 - 
setRunBackground
public void setRunBackground(boolean runBackground)  - 
getStepSize
public int getStepSize()how many pairs should be requested for alignment from server?- Returns:
 - stepsize
 
 - 
setStepSize
public void setStepSize(int stepSize)  - 
isVerbose
public boolean isVerbose()Flag if the job should be run in verbose mode. Default: false- Returns:
 - flag if the job should be run in verbose mode
 
 - 
setVerbose
public void setVerbose(boolean verbose)  - 
isUpdateRemediatedFiles
public boolean isUpdateRemediatedFiles() - 
setUpdateRemediatedFiles
public void setUpdateRemediatedFiles(boolean updateRemediatedFiles)  - 
toString
 
 -