Class DensityMapRequest.Builder
java.lang.Object
org.biojava.nbio.structure.io.density.DensityMapRequest.Builder
- Enclosing class:
DensityMapRequest
Builder for
DensityMapRequest.- Since:
- 7.3.0
- Author:
- Amr ALHOSSARY
-
Method Summary
Modifier and TypeMethodDescriptionallowNonRenderableFormats(boolean allow) build()fetchBehavior(LocalPDBDirectory.FetchBehavior fetchBehavior) kind(DensityMapKind kind) maxDownloadBytes(long bytes) sourceChain(List<DensityMapSource> chain)
-
Method Details
-
kind
- Parameters:
kind- the kind of map wanted;nullmeansDensityMapKind.AUTO
-
emdbId
- Parameters:
emdbId- the EMDB entry to use, skipping the PDB-to-EMDB lookup
-
fetchBehavior
- Parameters:
fetchBehavior- how aggressively to re-fetch
-
cacheDir
- Parameters:
cacheDir- an override for the cache directory
-
allowNonRenderableFormats
- Parameters:
allow- whether formats that cannot be contoured directly may be used. A viewer should passfalse.
-
maxDownloadBytes
- Parameters:
bytes- the download size limit, or 0 for no limit, or a negative value to use the cache's setting
-
sourceChain
- Parameters:
chain- an explicit source order, overriding the cache's choice
-
build
- Returns:
- the finished request
-