Class FarmJobParameters
java.lang.Object
org.biojava.nbio.structure.align.client.FarmJobParameters
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
int
how many pairs should be requested for alignment from server?int
int
getTime()
boolean
Flag if a job that only runs one parallell job should be run in its own thread or in the main thread.boolean
boolean
Flag if the job should be run in verbose mode.void
setCacheFilePath
(String cacheFilePath) void
setNrAlignments
(int nrAlignments) void
setPdbFilePath
(String pdbFilePath) void
setRunBackground
(boolean runBackground) void
void
setStepSize
(int stepSize) void
setThreads
(int threads) void
setTime
(int time) void
setUpdateRemediatedFiles
(boolean updateRemediatedFiles) void
setUsername
(String username) void
setVerbose
(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
-