| Modifier and Type | Field and Description |
|---|---|
| public static final String | |
| public static final String | |
| private static boolean | |
| private static final Map | |
| private static final URI[] | |
| private static boolean | |
| private static boolean | |
| protected static GrapeEngine | |
| public static final String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static void | |
| public static Map | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static synchronized GrapeEngine | |
| public static void | |
| public static void | |
| public static void | |
| public static Map | |
| public static URI[] | |
| public static URI[] | |
| public static void | |
| public static void | |
| public static void |
| AUTO_DOWNLOAD_SETTING | back to summary |
|---|---|
| public static final String AUTO_DOWNLOAD_SETTING | |
| DISABLE_CHECKSUMS_SETTING | back to summary |
|---|---|
| public static final String DISABLE_CHECKSUMS_SETTING | |
| disableChecksums | back to summary |
|---|---|
| private static boolean disableChecksums | |
| EMPTY_MAP_ARRAY | back to summary |
|---|---|
| private static final Map<K, V>[] EMPTY_MAP_ARRAY | |
| EMPTY_URI_ARRAY | back to summary |
|---|---|
| private static final URI[] EMPTY_URI_ARRAY | |
| enableAutoDownload | back to summary |
|---|---|
| private static boolean enableAutoDownload | |
| enableGrapes | back to summary |
|---|---|
| private static boolean enableGrapes | |
| instance | back to summary |
|---|---|
| protected static GrapeEngine instance | |
| SYSTEM_PROPERTIES_SETTING | back to summary |
|---|---|
| public static final String SYSTEM_PROPERTIES_SETTING | |
| Grape | back to summary |
|---|---|
| public Grape() | |
| addResolver | back to summary |
|---|---|
| public static void addResolver(Map<String, Object> args) | |
| enumerateGrapes | back to summary |
|---|---|
| public static Map | |
| getDisableChecksums | back to summary |
|---|---|
| public static boolean getDisableChecksums() Global flag to ignore checksums. By default it is set to false. | |
| getEnableAutoDownload | back to summary |
|---|---|
| public 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. | |
| getEnableGrapes | back to summary |
|---|---|
| public static boolean getEnableGrapes() This is a static access kill-switch. All of the static shortcut methods in this class will not work if this property is set to false. By default it is set to true. | |
| getInstance | back to summary |
|---|---|
| public static synchronized GrapeEngine getInstance() | |
| grab | back to summary |
|---|---|
| public static void grab(String endorsed) | |
| grab | back to summary |
|---|---|
| public static void grab(Map<String, Object> dependency) | |
| grab | back to summary |
|---|---|
| public static void grab(final Map<String, Object> args, final Map<K, V>... dependencies) | |
| listDependencies | back to summary |
|---|---|
| public static Map | |
| resolve | back to summary |
|---|---|
| public static URI[] resolve(Map<String, Object> args, Map<K, V>... dependencies) | |
| resolve | back to summary |
|---|---|
| public static URI[] resolve(Map<String, Object> args, List<E> depsInfo, Map<K, V>... dependencies) | |
| setDisableChecksums | back to summary |
|---|---|
| public static void setDisableChecksums(boolean disableChecksums) Set global flag to ignore checksums. By default it is set to false. | |
| setEnableAutoDownload | back to summary |
|---|---|
| public 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. | |
| setEnableGrapes | back to summary |
|---|---|
| public static void setEnableGrapes(boolean enableGrapes) This is a static access kill-switch. All of the static shortcut methods in this class will not work if this property is set to false. By default it is set to true. | |