Class Grape
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringprotected static GrapeEnginestatic final String
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic voidaddResolver(Map<String, Object> args) static booleanGlobal flag to ignore checksums.static booleanThis is a static access auto download enabler.static booleanThis is a static access kill-switch.static GrapeEnginestatic voidstatic voidstatic voidstatic Map[]static URI[]static URI[]static voidsetDisableChecksums(boolean disableChecksums) Set global flag to ignore checksums.static voidsetEnableAutoDownload(boolean enableAutoDownload) This is a static access auto download enabler.static voidsetEnableGrapes(boolean enableGrapes) This is a static access kill-switch.
- 
Field Details- 
AUTO_DOWNLOAD_SETTING- See Also:
 
- 
DISABLE_CHECKSUMS_SETTING- See Also:
 
- 
SYSTEM_PROPERTIES_SETTING- See Also:
 
- 
instance
 
- 
- 
Constructor Details- 
Grapepublic Grape()
 
- 
- 
Method Details- 
getEnableGrapespublic static boolean getEnableGrapes()This is a static access kill-switch. All the static shortcut methods in this class will be disabled if this property is set to false. By default, it is set to true.
- 
setEnableGrapespublic static void setEnableGrapes(boolean enableGrapes) This is a static access kill-switch. All the static shortcut methods in this class will be disabled if this property is set to false. By default, it is set to true.
- 
getEnableAutoDownloadpublic static boolean getEnableAutoDownload()This is a static access auto download enabler. It will set the 'autoDownload' value to the passed in arguments map if not already set. If 'autoDownload' is set the value will not be adjusted.This applies to the grab and resolve calls. If it is set to false, only previously downloaded grapes will be used. This may cause failure in the grape call if the library has not yet been downloaded If it is set to true, then any jars not already downloaded will automatically be downloaded. Also, any versions expressed as a range will be checked for new versions and downloaded (with dependencies) if found. By default, it is set to true. 
- 
setEnableAutoDownloadpublic static void setEnableAutoDownload(boolean enableAutoDownload) This is a static access auto download enabler. It will set the 'autoDownload' value to the passed in arguments map if not already set. If 'autoDownload' is set the value will not be adjusted.This applies to the grab and resolve calls. If it is set to false, only previously downloaded grapes will be used. This may cause failure in the grape call if the library has not yet been downloaded. If it is set to true, then any jars not already downloaded will automatically be downloaded. Also, any versions expressed as a range will be checked for new versions and downloaded (with dependencies) if found. By default, it is set to true. 
- 
getDisableChecksumspublic static boolean getDisableChecksums()Global flag to ignore checksums. By default, it is set to false.
- 
setDisableChecksumspublic static void setDisableChecksums(boolean disableChecksums) Set global flag to ignore checksums. By default, it is set to false.
- 
getInstance
- 
grab
- 
grab
- 
grab
- 
enumerateGrapes
- 
resolve
- 
resolve
- 
listDependencies
- 
addResolver
 
-