Package org.jboss.forge.furnace.manager.request

Examples of org.jboss.forge.furnace.manager.request.DeployRequest


   public static UpdateRequest createUpdateRequest(AddonInfo addonToRemove, AddonInfo addonToInstall,
            MutableAddonRepository repository, Furnace furnace)
   {
      RemoveRequest removeRequest = createRemoveRequest(addonToRemove, repository, furnace);
      DeployRequest installRequest = createDeployRequest(addonToInstall, repository, furnace);
      return new UpdateRequestImpl(removeRequest, installRequest);
   }
View Full Code Here


      AddonId addon = AddonId.from("test:no_dep_one_lib_excluding_indirect_lib", "1.0.0.Final");
      InstallRequest install = addonManager.install(addon);
      List<? extends AddonActionRequest> actions = install.getActions();
      Assert.assertEquals(1, actions.size());
      Assert.assertThat((List<DeployRequest>) actions, everyItem(isA(DeployRequest.class)));
      DeployRequest deployRequest = (DeployRequest) actions.get(0);
      AddonInfo addonInfo = deployRequest.getRequestedAddonInfo();
      Set<File> resources = addonInfo.getResources();
      Assert.assertEquals("It should have three resources", 3, resources.size());
   }
View Full Code Here

TOP

Related Classes of org.jboss.forge.furnace.manager.request.DeployRequest

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.