Package org.terasology.naming

Examples of org.terasology.naming.NameVersion


    public List<NameVersion> getModules() {
        return ImmutableList.copyOf(modules);
    }

    public void addModule(Name id, Version version) {
        modules.add(new NameVersion(id, version));
    }
View Full Code Here


            if (!moduleInfo.hasModuleId() || !moduleInfo.hasModuleVersion()) {
                logger.error("Received incomplete module info");
            } else {
                Name id = new Name(moduleInfo.getModuleId());
                Version version = new Version(moduleInfo.getModuleVersion());
                result.add(new NameVersion(id, version));
            }
        }

        return result;
    }
View Full Code Here

TOP

Related Classes of org.terasology.naming.NameVersion

Copyright © 2018 www.massapicom. 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.