Get the inactive history directories.

@return the inactive history
187968
public List<File> getInactiveHistory() throws PatchingException {
        if (validHistory == null) {
            walk();
        }
        final File[] inactiveDirs = installedIdentity.getInstalledImage().getPatchesDir().listFiles(new FileFilter() {
            @Override
            public boolean accept(File pathname) {
                return pathname.isDirectory() && !validHistory.contains(pathname.getName());
            }
        });
        return inactiveDirs == null ? Collections.<File>emptyList() : Arrays.asList(inactiveDirs);
    }
212686
protected List<String> getModulesToDelete() {

        List<String> result = new ArrayList<String>();
        for (int i = 0; i < OBSOLETE_MODULES.length; i++) {
            if (OpenCms.getModuleManager().hasModule(OBSOLETE_MODULES[i])) {
                result.add(OBSOLETE_MODULES[i]);
            }
        }
        return result;
    }
993625
public Iterator<String> getBehaviorIds() {

        if (defaultApplication != null) {
            return defaultApplication.getBehaviorIds();
        }
        return Collections.EMPTY_LIST.iterator();
        
    }
765865
@SuppressWarnings("unchecked")
    public Set<String> getTopics() {
        Map<String, List<PartitionInfo>> topicInfo = getTopicInfo();
        Set<String> topics = topicInfo != null ? topicInfo.keySet() : null;
        return topics != null ? Collections.unmodifiableSet(topics) : Collections.EMPTY_SET;
    }
534749
public Set<String> getIncludeRoots() {

        List<String> pathList = new ArrayList<String>(m_includes);
        Set<String> includeRoots = new HashSet<String>();
        Collections.sort(pathList);
        while (!pathList.isEmpty()) {
            Iterator<String> iterator = pathList.iterator();
            String firstPath = iterator.next();
            includeRoots.add(firstPath);
            iterator.remove();
            while (iterator.hasNext()) {
                String currentPath = iterator.next();
                if (CmsStringUtil.isPrefixPath(firstPath, currentPath)) {
                    iterator.remove();
                }
            }
        }
        return includeRoots;
    }
1114740
private List<String> getFurtherInfoLines(CmsSessionInfo currentSession) {

        boolean neverActive = false;
        Long inacTime = new Long(0L);
        List<String> res = new ArrayList<String>();
        if (currentSession == null) {
            inacTime = new Long(System.currentTimeMillis() - m_user.getLastlogin());
            neverActive = m_user.getLastlogin() == 0L;
        } else {
            inacTime = new Long(System.currentTimeMillis() - currentSession.getTimeUpdated());
        }

        String[] inactiveTime = CmsSessionInfo.getHourMinuteSecondTimeString(inacTime.longValue());

        if (!neverActive) {
            if (currentSession != null) {
                res.add("");
                res.add("<p>Session info:</p>");
                res.add(
                    CmsVaadinUtils.getMessageText(
                        Messages.GUI_MESSAGES_LAST_ACTIVITY_2,
                        inactiveTime[1] + ":" + inactiveTime[2],
                        CmsVaadinUtils.getMessageText(Messages.GUI_MESSAGES_MINUTES_0)) + getStatusHTML(inacTime));
            } else {
                res.add(getLastLoginMessage(inacTime));
            }
        }
        res.add(
            CmsVaadinUtils.getMessageText(Messages.GUI_USERMANAGEMENT_USER_DATE_CREATED_0)
                + ": "
                + CmsDateUtil.getDateTime(
                    new Date(m_user.getDateCreated()),
                    DateFormat.SHORT,
                    A_CmsUI.get().getLocale()));
        if (currentSession != null) {
            res.add(TableProperty.Site.getLocalizedMessage() + ": " + getSiteTitle(currentSession));

            try {
                res.add(
                    TableProperty.Project.getLocalizedMessage()
                        + ": "
                        + A_CmsUI.getCmsObject().readProject(currentSession.getProject()).getName());
            } catch (CmsException e) {
                LOG.error("Unable to read project", e);
            }
        }
        return res;
    }
774755
private List getModes() {

        ArrayList ret = new ArrayList();

        ret.add(
            new CmsSelectWidgetOption(
                String.valueOf(CmsHistorySettings.MODE_DELETED_HISTORY_DISABLED),
                m_historySettings.getMode() == CmsHistorySettings.MODE_DELETED_HISTORY_DISABLED,
                key(Messages.GUI_HISTORY_SETTINGS_MODE_DISABLED_0)));
        ret.add(new CmsSelectWidgetOption(
            String.valueOf(CmsHistorySettings.MODE_DELETED_HISTORY_KEEP_NO_VERSIONS),
            m_historySettings.getMode() == CmsHistorySettings.MODE_DELETED_HISTORY_KEEP_NO_VERSIONS,
            key(Messages.GUI_HISTORY_SETTINGS_MODE_KEEP_NO_VERSIONS_0)));
        ret.add(new CmsSelectWidgetOption(
            String.valueOf(CmsHistorySettings.MODE_DELETED_HISTORY_KEEP_WITH_VERSIONS),
            m_historySettings.getMode() == CmsHistorySettings.MODE_DELETED_HISTORY_KEEP_WITH_VERSIONS,
            key(Messages.GUI_HISTORY_SETTINGS_MODE_KEEP_WITH_VERSIONS_0)));

        return ret;
    }
325380
public String popHistory()
    {
        String strHistory = null;
        if (m_vHistory != null) if (m_vHistory.size() > 0)
            strHistory = (String)m_vHistory.remove(m_vHistory.size() - 1);
        return strHistory;
    }
284081
public java.util.List<ManagedActionHistoryItem> getManagedActionHistoryItems() {
        if (managedActionHistoryItems == null) {
            managedActionHistoryItems = new com.amazonaws.internal.SdkInternalList<ManagedActionHistoryItem>();
        }
        return managedActionHistoryItems;
    }
1029934
public java.util.List<AlarmHistoryItem> getAlarmHistoryItems() {
        if (alarmHistoryItems == null) {
            alarmHistoryItems = new com.amazonaws.internal.SdkInternalList<AlarmHistoryItem>();
        }
        return alarmHistoryItems;
    }
281521
private static List<Integer> getUsedIndexes() {
        File folder = getMotdFileOutputStreamProvider().getMOTDFolder();
        List<Integer> res = new ArrayList<>();

        for (File file : folder.listFiles()) {
            if (file.isFile() && file.getName().matches(getRegexToMatchSerializedMOTs())) {
                res.add(getIndexFromFilename(file.getName()));
            }
        }

        return res;
    }
1146641
MUCInitialPresence.History getMUCHistory() {
        // Return null if the history was not properly configured
        if (!isConfigured()) {
            return null;
        }

        return new MUCInitialPresence.History(maxChars, maxStanzas, seconds, since);
    }
82748
public List<CmsResource> getResourcesWithBrokenLinks() {

        if (m_resourcesWithBrokenLinks == null) {
            // sort the resulting hash map
            List<String> resources = new ArrayList<String>(m_brokenRelations.keySet());
            Collections.sort(resources);

            m_resourcesWithBrokenLinks = new ArrayList<CmsResource>(resources.size());
            m_notVisibleResourcesCount = 0;
            // remove not visible resources
            CmsResourceFilter filter = CmsResourceFilter.IGNORE_EXPIRATION.addRequireVisible();
            String storedSiteRoot = m_cms.getRequestContext().getSiteRoot();
            try {
                m_cms.getRequestContext().setSiteRoot("/");
                Iterator<String> itResources = resources.iterator();
                while (itResources.hasNext()) {
                    String resourceName = itResources.next();
                    try {
                        m_resourcesWithBrokenLinks.add(m_cms.readResource(resourceName, filter));
                    } catch (Exception e) {
                        // resource is not visible, increase count
                        m_notVisibleResourcesCount++;
                    }
                }
            } finally {
                m_cms.getRequestContext().setSiteRoot(storedSiteRoot);
            }
        }
        return m_resourcesWithBrokenLinks;
    }
1092524
public java.util.List<Activation> getActivationList() {
        if (activationList == null) {
            activationList = new com.amazonaws.internal.SdkInternalList<Activation>();
        }
        return activationList;
    }
1147156
public List<String> getSuggestedReplacements() {
    List<String> l = new ArrayList<>();
    for (SuggestedReplacement repl : suggestedReplacements) {
      l.add(repl.getReplacement());
    }
    return Collections.unmodifiableList(l);
  }
696394
public static void getHistory() throws Exception{
        Client client = new Client("ProfileName", false);

        // Obtain the 100 history entries starting from offset 0
        History[] history = client.refreshHistory(100, 0);

        client.clearHistory();
    }
1308296
def get_history_without_ipython_calls(self):
        
        line_count = 0
        filtered_history = []
        for line in self.history:
            if "get_ipython()." not in line:
                filtered_history.append(line)
                line_count += 1
        return filtered_history, line_count