Gets list of supported levels.
@return  list of supported levels.
979937
public static List getAllPossibleLevels() {
        ArrayList list = new ArrayList();
        list.add(FINE);
        list.add(FINER);
        list.add(FINEST);
        list.add(INFO);
        list.add(CONFIG);
        list.add(WARNING);
        list.add(SEVERE);
        return list;
    }
882519
public List<ContentKeyAuthorizationPolicyRestriction> getRestrictions() {
        List<ContentKeyAuthorizationPolicyRestriction> result = new ArrayList<ContentKeyAuthorizationPolicyRestriction>();
        List<ContentKeyAuthorizationPolicyRestrictionType> restrictionsTypes = getContent().getRestrictions();

        if (restrictionsTypes != null) {
            for (ContentKeyAuthorizationPolicyRestrictionType restrictionType : restrictionsTypes) {
                ContentKeyAuthorizationPolicyRestriction contentKeyAuthPolicyRestriction = new ContentKeyAuthorizationPolicyRestriction(
                        restrictionType.getName(), restrictionType.getKeyRestrictionType(),
                        restrictionType.getRequirements());
                result.add(contentKeyAuthPolicyRestriction);
            }
        }

        return result;
    }
533426
public java.util.List<String> getDesiredShardLevelMetrics() {
        if (desiredShardLevelMetrics == null) {
            desiredShardLevelMetrics = new com.amazonaws.internal.SdkInternalList<String>();
        }
        return desiredShardLevelMetrics;
    }
1261967
public List<T> getRoots() {
    List<T> roots = new ArrayList<>();
    for (DirectedAcyclicGraphNode<T> root : mRoots) {
      roots.add(root.getPayload());
    }
    return roots;
  }
367680
public List<AdminList> getAdminLists() {
        return this.adminLists.get().stream().sorted(Comparator.comparing(o -> o.getListClass().getSimpleName())).collect(Collectors.toList());
    }
443090
public List<SpecTopic> getSpecTopics() {
        final List<SpecTopic> specTopics = getLevelSpecTopics(level);
        specTopics.addAll(getMetaDataSpecTopics());
        return specTopics;
    }
285575
protected static List<SpecNode> getAllSpecNodes(final Level level) {
        final List<SpecNode> specNodes = new ArrayList<SpecNode>();

        for (final Node childNode : level.getChildNodes()) {
            if (childNode instanceof SpecNode) {
                specNodes.add((SpecNode) childNode);
            }

            if (childNode instanceof Level) {
                specNodes.addAll(getAllSpecNodes((Level) childNode));
            }
        }

        return specNodes;
    }
1073681
public java.util.List<String> getConversionTaskIds() {
        if (conversionTaskIds == null) {
            conversionTaskIds = new com.amazonaws.internal.SdkInternalList<String>();
        }
        return conversionTaskIds;
    }
1027447
public static Level getLoggingLevelFromProperties() {
		if (levelFromProperties == null) {
			final String verboseLevel = JanusConfig.getSystemProperty(JanusConfig.VERBOSE_LEVEL_NAME, JanusConfig.VERBOSE_LEVEL_VALUE);
			levelFromProperties = parseLoggingLevel(verboseLevel);
		}
		return levelFromProperties;
	}
922763
public List<String> getRootChildren() {

        List<String> children = new ArrayList<String>();
        try {
            children = zk.getChildren("/", false);
        } catch (KeeperException e) {
            LOGGER.error(e.toString());
        } catch (InterruptedException e) {
            LOGGER.error(e.toString());
        }

        return children;
    }
840175
public List<ResourceFactory> getChildren() {
        List<ResourceFactory> result = new ArrayList<>();
        for (WeakReference<ResourceFactory> ref : chidren) {
            ResourceFactory rf = ref.get();
            if (rf != null) result.add(rf);
        }
        return result;
    }
1294787
public static Level[] values() {
        final Collection<Level> values = Level.LEVELS.values();
        return values.toArray(new Level[values.size()]);
    }
937669
public List<Node> getVisibleChildren() {
        List<Node> visibleChildren = new ArrayList<Node>();
        for (Node curChild : children) {
            if (curChild.isVisible()) {
                visibleChildren.add(curChild);
            }
        }
        return visibleChildren;
    }
35781
public Level getEffectiveLevel() {
        if (slf4jLogger.isTraceEnabled()) {
            return Level.TRACE;
        }
        if (slf4jLogger.isDebugEnabled()) {
            return Level.DEBUG;
        }
        if (slf4jLogger.isInfoEnabled()) {
            return Level.INFO;
        }
        if (slf4jLogger.isWarnEnabled()) {
            return Level.WARN;
        }
        return Level.ERROR;
    }
595032
public java.util.List<StackResource> getStackResources() {
        if (stackResources == null) {
            stackResources = new com.amazonaws.internal.SdkInternalList<StackResource>();
        }
        return stackResources;
    }
1291853
List<CmsCategoryTreeEntry> getFlatList() {

        List<CmsCategoryTreeEntry> toProcess = Lists.newArrayList(m_categoryEntries);
        List<CmsCategoryTreeEntry> result = Lists.newArrayList();
        Set<CmsUUID> visited = Sets.newHashSet();
        while (!toProcess.isEmpty()) {
            Iterator<CmsCategoryTreeEntry> iter = toProcess.iterator();
            CmsCategoryTreeEntry entry = iter.next();
            iter.remove();
            if (!visited.contains(entry.getId())) {
                result.add(entry);
                visited.add(entry.getId());
                toProcess.addAll(entry.getChildren());
            }
        }
        return result;
    }
1028782
public static Map<String, Level> getCustomLevels() {
		Map<String, Level> levels = new HashMap<String, Level>();
		for (Entry<String, String> entry : Configuration.getSiblings("level@").entrySet()) {
			String packageOrClass = entry.getKey().substring("level@".length());
			Level level = parse(entry.getValue(), null);
			if (level != null) {
				levels.put(packageOrClass, level);
			}
		}
		return levels;
	}