Examples of RuntimeInfoCatalog


Examples of org.erlide.runtime.runtimeinfo.RuntimeInfoCatalog

    public static final synchronized IRuntimeInfoCatalog getRuntimeInfoCatalog(
            final IRuntimeInfoSerializer serializer) {
        if (runtimeInfoCatalog == null) {
            final RuntimeInfoCatalogData data = serializer.load();

            runtimeInfoCatalog = new RuntimeInfoCatalog();
            runtimeInfoCatalog.setRuntimes(data.runtimes, data.defaultRuntimeName,
                    data.erlideRuntimeName);
            for (final RuntimeInfo info : runtimeInfoCatalog.getRuntimes()) {
                if (HostnameUtils.detectHostNames(info.getOtpHome())) {
                    break;
View Full Code Here

Examples of org.erlide.runtime.runtimeinfo.RuntimeInfoCatalog

    private OtpNodeProxy nodeProxy;
    private RuntimeInfo info;

    @Before
    public void prepareRuntime() {
        final RuntimeInfoCatalog cat = new RuntimeInfoCatalog();
        cat.initializeRuntimesList();
        assertThat("empty runtime list", !cat.getRuntimes().isEmpty());
        info = cat.getRuntimes().iterator().next();
        assertThat("no default info", info != RuntimeInfo.NO_RUNTIME_INFO);

        final RuntimeData data = new RuntimeData(info, "run");
        data.setNodeName("etest" + System.currentTimeMillis());
        data.setLongName(false);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.