Package org.jboss.forge.furnace.versions

Examples of org.jboss.forge.furnace.versions.Version


   private ModuleIdentifier findCompatibleInstalledModule(AddonId addonId)
   {
      ModuleIdentifier result = null;

      Addon addon = currentAddon.get();
      Version runtimeAPIVersion = AddonRepositoryImpl.getRuntimeAPIVersion();

      for (AddonRepository repository : stateManager.getViewsOf(addon).iterator().next().getRepositories())
      {
         List<AddonId> enabled = repository.listEnabledCompatibleWithVersion(runtimeAPIVersion);
         for (AddonId id : enabled)
View Full Code Here


      AddonVertex result = null;
      for (AddonVertex vertex : getGraph().vertexSet())
      {
         String vertexName = vertex.getName();
         // FIXME some weird CLAC javassist issue requiring this unwrapping?
         Version vertexVersion = new SingleVersion(vertex.getVersion().toString());
         if (vertexName.equals(name)
                  && new SingleVersion(version.toString())
                           .compareTo(new SingleVersion(vertexVersion.toString())) == 0)
         {
            result = vertex;
            break;
         }
      }
View Full Code Here

TOP

Related Classes of org.jboss.forge.furnace.versions.Version

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.