Class FarmJobParameters
- java.lang.Object
-
- org.biojava.nbio.structure.align.client.FarmJobParameters
-
public class FarmJobParameters extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static intDEFAULT_BATCH_SIZEstatic intDEFAULT_JOB_TIMEstatic intDEFAULT_NR_ALIGNMENTSstatic intDEFAULT_NR_THREADSstatic StringDEFAULT_PDB_PATHstatic StringDEFAULT_SERVER_URL
-
Constructor Summary
Constructors Constructor Description FarmJobParameters()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCacheFilePath()intgetNrAlignments()StringgetPdbFilePath()StringgetServer()intgetStepSize()how many pairs should be requested for alignment from server?intgetThreads()intgetTime()StringgetUsername()booleanisRunBackground()Flag if a job that only runs one parallell job should be run in its own thread or in the main thread.booleanisUpdateRemediatedFiles()booleanisVerbose()Flag if the job should be run in verbose mode.voidsetCacheFilePath(String cacheFilePath)voidsetNrAlignments(int nrAlignments)voidsetPdbFilePath(String pdbFilePath)voidsetRunBackground(boolean runBackground)voidsetServer(String server)voidsetStepSize(int stepSize)voidsetThreads(int threads)voidsetTime(int time)voidsetUpdateRemediatedFiles(boolean updateRemediatedFiles)voidsetUsername(String username)voidsetVerbose(boolean verbose)StringtoString()
-
-
-
Field Detail
-
DEFAULT_JOB_TIME
public static final int DEFAULT_JOB_TIME
- See Also:
- Constant Field Values
-
DEFAULT_NR_ALIGNMENTS
public static final int DEFAULT_NR_ALIGNMENTS
- See Also:
- Constant Field Values
-
DEFAULT_NR_THREADS
public static final int DEFAULT_NR_THREADS
- See Also:
- Constant Field Values
-
DEFAULT_SERVER_URL
public static final String DEFAULT_SERVER_URL
-
DEFAULT_PDB_PATH
public static final String DEFAULT_PDB_PATH
- See Also:
- Constant Field Values
-
DEFAULT_BATCH_SIZE
public static final int DEFAULT_BATCH_SIZE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
FarmJobParameters
public FarmJobParameters()
-
-
Method Detail
-
getPdbFilePath
public String getPdbFilePath()
-
setPdbFilePath
public void setPdbFilePath(String pdbFilePath)
-
getCacheFilePath
public String getCacheFilePath()
-
setCacheFilePath
public void setCacheFilePath(String cacheFilePath)
-
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)
-
getUsername
public String getUsername()
-
setUsername
public void setUsername(String username)
-
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)
-
-