Returns the list of bundle names

@param bundles
the bundles
@return the list of bundle names
496343
private static List<String> getBundleNames(List<JoinableResourceBundle> bundles) {

		List<String> bundleNames = new ArrayList<>();
		for (Iterator<JoinableResourceBundle> iterator = bundles.iterator(); iterator.hasNext();) {
			bundleNames.add(iterator.next().getName());
		}
		return bundleNames;
	}
374875
def get_bundles(self):
        # type: () -> List[Bundle]
        
        with self.__bundles_lock:
            return [
                self.__bundles[bundle_id]
                for bundle_id in sorted(self.__bundles.keys())
            ]
406272
public void registerLookupBundles(final List<GuiceyBundle> bundles) {
        setScope(ConfigScope.BundleLookup.getType());
        for (GuiceyBundle bundle : bundles) {
            register(ConfigItem.Bundle, bundle);
        }
        closeScope();
        lifecycle().bundlesFromLookupResolved(bundles);
        lifecycle().bundlesResolved(getEnabledBundles(), getDisabledBundles());
    }
793813
public void setBundles(java.util.Collection<Bundle> bundles) {
        if (bundles == null) {
            this.bundles = null;
            return;
        }

        this.bundles = new java.util.ArrayList<Bundle>(bundles);
    }
616370
public static List<BundleDefinition> getBundleDefinitions() {
	CFMLEngine engine = ConfigWebUtil.getEngine(ThreadLocalPageContext.getConfig());
	return getBundleDefinitions(engine.getBundleContext());
    }
1162770
public java.util.List<WorkspaceBundle> getBundles() {
        if (bundles == null) {
            bundles = new com.amazonaws.internal.SdkInternalList<WorkspaceBundle>();
        }
        return bundles;
    }
609985
public void setBundleIds(java.util.Collection<String> bundleIds) {
        if (bundleIds == null) {
            this.bundleIds = null;
            return;
        }

        this.bundleIds = new com.amazonaws.internal.SdkInternalList<String>(bundleIds);
    }
283938
@SafeVarargs
    public static void enableBundles(final Class<? extends GuiceyBundle>... bundles) {
        final String prop = Joiner.on(',').join(toStrings(Lists.newArrayList(bundles)));
        System.setProperty(BUNDLES_PROPERTY, prop);
    }
735562
@Override
	public List<BundlePath> getItemPathList(Map<String, String> variants) {
		return getItemPathList(bundlePathMapping.getItemPathList(), variants);
	}
741698
private static List<URL> parsePaths(List<PathElement> paths, Bundle bundle) {
		List<URL> pathList = new ArrayList<URL>();
		for (PathElement path : paths) {
			String name = path.getName();
			if (name.endsWith("/")) {
				// we have a directory
				addEntries(bundle, name, "*.*", pathList);
			} else {
				// we have a file name
				String baseName;
				String filePattern;
				int pos = name.lastIndexOf('/');
				if (pos < 0) {
					baseName = "/";
					filePattern = name;
				} else {
					baseName = name.substring(0, pos + 1);
					filePattern = name.substring(pos + 1);
				}
				if (hasWildcards(filePattern)) {
					addEntries(bundle, baseName, filePattern, pathList);
				} else {
					pathList.add(bundle.getEntry(name));
				}
			}
		}
		return pathList;
	}
549512
public BundleList findExtraBundles(BundleList newBundleList, FeatureManager featureManager) {
        List<RuntimeFeatureResource> bundles = new ArrayList<RuntimeFeatureResource>(resources);
        bundles.removeAll(newBundleList.resources);
        resources.removeAll(bundles);
        BundleList result = new BundleList(featureManager);
        result.resources.addAll(bundles);
        stale.set(true);
        return result;
    }
1296158
public static String get(Bundle bundle) {
    String applicationPath = ApplicationPath.get(bundle);
    if (applicationPath == null) {
      return null;
    }
    if (!hasHalDocs(bundle)) {
      return null;
    }
    return get(applicationPath);
  }
774622
protected function getBundleInstances(
        KernelInterface $kernel,
        array $bundles
    ): array {
        $bundleStack = $this
            ->resolveAndReturnBundleDependencies(
                $kernel,
                $bundles
            );

        $builtBundles = [];
        foreach ($bundleStack as $bundle) {
            $builtBundles[] = $this
                ->getBundleDefinitionInstance($bundle);
        }

        return $builtBundles;
    }
769181
function reduceBundles(bundles, dependencies, maxBundles) {
    while (anyMainExceedsMaxBundles(bundles, maxBundles)) {
        var merge = findLeastCostMerge(bundles, dependencies, maxBundles);
        mergeBundles(merge.bundle1Name, merge.bundle2Name, bundles);
    }
    return bundles;
}
874448
private void startBundle( final Bundle bundle )
        throws BundleException
    {
        // Don't start if bundle already active
        int bundleState = bundle.getState();
        if( bundleState == Bundle.ACTIVE )
        {
            return;
        }

        // Don't start if bundle is a fragment bundle
        Dictionary bundleHeaders = bundle.getHeaders();
        if( bundleHeaders.get( Constants.FRAGMENT_HOST ) != null )
        {
            return;
        }

        // Start bundle
        bundle.start();

        bundleState = bundle.getState();
        if( bundleState != Bundle.ACTIVE )
        {
            long bundleId = bundle.getBundleId();
            String bundleName = bundle.getSymbolicName();
            String bundleStateStr = bundleStateToString( bundleState );
            throw new BundleException(
                "Bundle (" + bundleId + ", " + bundleName + ") not started (still " + bundleStateStr + ")"
            );
        }
    }
1079015
def bundles(ctx):
    
    bundles = _get_bundles(ctx.obj.data['env'])
    print_table(('Name', 'Location'),
                [(bundle.name, f'{bundle.__module__}.{bundle.__class__.__name__}')
                 for bundle in bundles])
1082841
public List<AttributeBundle> getAttributeBundles() {
        if (attributeBundles != null) {
            return attributeBundles;
        }

        Map<String, AttributeBundle> bundlesMap = newHashMap();

        for (Attribute attribute : getAttributes().getList()) {
            if (attribute.columnNameHasLanguageSuffix()) {
                String base = attribute.getColumnNameWithoutLanguage();
                AttributeBundle bundle = bundlesMap.get(base);
                if (bundle == null) {
                    bundle = new AttributeBundle(attribute); // add first attribute
                    bundlesMap.put(base, bundle);
                } else {
                    bundle.addAttribute(attribute);
                }
            }
        }

        // keep bundles with more than 1 attribute
        attributeBundles = newArrayList();
        for (AttributeBundle bundle : bundlesMap.values()) {
            if (bundle.getAttributes().size() > 1) {
                attributeBundles.add(bundle);
                log.info("Found columns satisfying localization pattern: " + bundle.toString());
            }
        }

        return attributeBundles;
    }