Retrieves a Map of Liberty install features which locates at lib/assets.

@return A Map of Liberty install features.
487780
public Map<String, ProvisioningFeatureDefinition> getInstallFeatureDefinitions() {
        Map<String, ProvisioningFeatureDefinition> features = new TreeMap<String, ProvisioningFeatureDefinition>();
        File assetDir = getCoreAssetDir();
        if (!assetDir.exists()) {
            return features;
        }
        if (!assetDir.isDirectory()) {
            throw new FeatureToolException("Unable to find or create asset directory: " + assetDir,
                                           MessageFormat.format(NLS.messages.getString("tool.feature.dir.not.found"), assetDir),
                                           null,
                                           ReturnCode.MISSING_CONTENT);
        }
        File[] manifestFiles = assetDir.listFiles(MFFilter);
        if (manifestFiles != null) {
            for (File file : manifestFiles) {
                try {
                    ProvisioningFeatureDefinition fd = new SubsystemFeatureDefinitionImpl(ExtensionConstants.CORE_EXTENSION, file);
                    if (fd.isSupportedFeatureVersion()) {
                        // using symbolic name because gets compared to FeatureResource symbolic name
                        features.put(fd.getSymbolicName(), fd);
                    }
                } catch (IOException e) {
                    // TODO: PROPER NLS MESSAGE
                    throw new FeatureToolException("Unable to read install feature manifest: " + file,
                                                   (String) null,
                                                   e,
                                                   ReturnCode.BAD_FEATURE_DEFINITION);
                }
            }
        }
        return features;
    }
56352
public Map<String, String> getResources() {
    Map<String, String> resourceByResourceName = new HashMap<>();
    String metadata = getMetadata(ICON);
    if (metadata.equals("")) {
      metadata = getFirstIconFile(BUNDLE_ICONS);
    }
    resourceByResourceName.put(ICON, metadata);
    return resourceByResourceName;
  }
119277
def get_asset(self):
        
        # Implemented from template for osid.learning.Activity.get_objective
        if not bool(self._my_map['assetId']):
            raise errors.IllegalState('asset empty')
        mgr = self._get_provider_manager('REPOSITORY')
        if not mgr.supports_asset_lookup():
            raise errors.OperationFailed('Repository does not support Asset lookup')
        lookup_session = mgr.get_asset_lookup_session(proxy=getattr(self, "_proxy", None))
        lookup_session.use_federated_repository_view()
        return lookup_session.get_asset(self.get_asset_id())
1176681
@Override
    public Bundle getBundle() {
        return parent instanceof GatewayClassLoader ? ((GatewayClassLoader) parent).getBundle() : parent instanceof LibertyLoader ? ((LibertyLoader) parent).getBundle() : null;
    }
427936
@Override
	public Map<String, Location> getPackageLocations() {
		Map<String, Location> result = new LinkedHashMap<String, Location>();
		for (Entry<String, IPackage>entry : getPackages().entrySet()) {
			IPackage pkg = entry.getValue();
			result.put(pkg.getName(), pkg.getLocation());
		}
		return result;
	}
204563
public Map<String, AnnotationDefinition> getDefinitionMap() {
        if (definitions == null) {
            return emptyMap();
        }
        final Map<String, AnnotationDefinition> ret =
                new HashMap<String, AnnotationDefinition>(definitions.size());
        for (final AnnotationDefinition ad : definitions) {
            ret.put(ad.getId(), ad);
        }
        return ret;
    }
598872
public Map<String, String> getEndpointsMap () {
        List<String> keys = getPropertiesKeySet();
        HashMap<String, String> endpoints = new HashMap<>(keys.size());
        for (String key : keys) {
            endpoints.put(key, getPropertyAsString(key));
        }
        return endpoints;
    }
1242400
Map<String, Object> getGlobalProps() {
        Map<String, Object> props = getProperties();

        String repertoire = (String) props.get(LibertyConstants.KEY_DEFAULT_REPERTOIRE);
        if (repertoire != null) {
            props.put(Constants.SSLPROP_DEFAULT_ALIAS, repertoire);
        } else {
            props.put(Constants.SSLPROP_DEFAULT_ALIAS, LibertyConstants.DEFAULT_SSL_CONFIG_ID);
        }

        String outBoundDefault = (String) props.get(LibertyConstants.KEY_OUTBOUND_DEFAULT_REPERTOIRE);
        if (outBoundDefault != null) {
            props.put(LibertyConstants.SSLPROP_OUTBOUND_DEFAULT_ALIAS, outBoundDefault);
        }

        String hostNameVerification = (String) props.get(LibertyConstants.KEY_OUTBOUND_HOSTNAME_VERIFICATION);
        if (hostNameVerification != null) {
            props.put(Constants.SSLPROP_URL_HOSTNAME_VERIFICATION, hostNameVerification);
        }

        return props;
    }
190462
function () {
    if (!this.mapper.hasObject(this.modelElement.path())) {
      const resolver = this.node.getKevoreeCore().getResolver();
      return resolver.resolve(this.modelElement)
        .then((Type) => {
          this.log.debug(
            'namespace=' + ModelHelper.getNamespace(this.modelElement.eContainer()) +
            ',hash=' + this.modelElement.hashcode +
            ',name=' + this.modelElement.name +
            ',version=' + this.modelElement.version);
          this.mapper.addEntry(this.modelElement.path(), Type);
        });
    } else {
      // this deploy unit is already installed, move on
      return Promise.resolve();
    }
  }
1013506
private List<JoinableResourceBundle> getBundlesToRebuild() {
		List<JoinableResourceBundle> bundlesToRebuild = new ArrayList<>();

		if (config.getUseSmartBundling()) {

			for (JoinableResourceBundle bundle : globalBundles) {
				if (bundle.isDirty()) {
					bundlesToRebuild.add(bundle);
				}
			}
			for (JoinableResourceBundle bundle : contextBundles) {
				if (bundle.isDirty()) {
					bundlesToRebuild.add(bundle);
				}
			}
		}
		return bundlesToRebuild;
	}
253555
private Map<String, GroovyRunner> getMap() {
        Map<String, GroovyRunner> map = runnerMap;
        if (map == null) {
            writeLock.lock();
            try {
                if ((map = runnerMap) == null) {
                    runnerMap = map = new LinkedHashMap<>();
                    load(null);
                }
            } finally {
                writeLock.unlock();
            }
        }
        return map;
    }
930994
public static Map<String, String> getBlockDeviceMapping() {
        Map<String, String> blockDeviceMapping = new HashMap<String, String>();

        List<String> devices = getItems(EC2_METADATA_ROOT + "/block-device-mapping");
        if (devices != null) {
            for (String device : devices) {
                blockDeviceMapping.put(device, getData(EC2_METADATA_ROOT
                                                       + "/block-device-mapping/" + device));
            }
        }
        return blockDeviceMapping;
    }
787301
@Override
	public Properties getJawrBundleMapping() {

		final Properties bundleMapping = new Properties();
		InputStream is = null;
		try {
			is = getBundleMappingStream();
			if (is != null) {
				((Properties) bundleMapping).load(is);
			} else {
				LOGGER.info("The jawr bundle mapping '" + mappingFileName + "' is not found");
			}
		} catch (IOException e) {
			LOGGER.info("Error while loading the jawr bundle mapping '"
					+ JawrConstant.JAWR_JS_MAPPING_PROPERTIES_FILENAME + "'");
		} finally {
			IOUtils.close(is);
		}

		return bundleMapping;
	}
767391
public final Set<String> getBundleDependencies() {
		final Set<String> bundles = new TreeSet<>();
		updateBundleList(bundles);
		return bundles;
	}
591531
public Map<Object, Object> getManifestAttributes() {
		Map<Object, Object> manifestAttributes = null;
		
		manifestAttributes = getExplodedWarManifestAttributes();
		if (manifestAttributes == null) {
		    manifestAttributes = getPackagedWarManifestAttributes();
		}
		if (manifestAttributes == null) {
		    manifestAttributes = getClassPathManifestAttributes();
		}
		
		if (manifestAttributes == null) {
		    manifestAttributes = new HashMap<>();
		}
		return manifestAttributes;
	}
1091221
public Map<String, List<String>> getCustomBundlePropertyAsMap(String bundleName, String key) {
		Map<String, List<String>> propertiesMap = new HashMap<>();

		StringTokenizer tk = new StringTokenizer(getCustomBundleProperty(bundleName, key, ""), ";");
		while (tk.hasMoreTokens()) {
			String[] mapEntry = tk.nextToken().trim().split(":");

			String mapKey = mapEntry[0];
			String values = mapEntry[1];
			StringTokenizer valueTk = new StringTokenizer(values, ",");
			List<String> valueList = new ArrayList<>();
			while (valueTk.hasMoreTokens()) {
				valueList.add(valueTk.nextToken().trim());
			}
			propertiesMap.put(mapKey, valueList);
		}
		return propertiesMap;
	}
921220
public java.util.Map<java.lang.String, alluxio.grpc.TierList> getAddedBlocksOnTiersMap() {
    return internalGetAddedBlocksOnTiers().getMap();
  }