Forge - Addon Manager API 2.0.0.Alpha3

org.jboss.forge.addon.manager
Interface InstallRequest


public interface InstallRequest

When an addon is installed, another addons could be required. This object returns the necessary information for the installation of an addon to succeed, like required addons and dependencies

Author:
George Gastaldi

Method Summary
 List<DependencyNode> getOptionalAddons()
          Returns an unmodifiable list of the required addons
 DependencyNode getRequestedAddon()
          The requested addon
 List<DependencyNode> getRequiredAddons()
          Returns an unmodifiable list of the required addons
 void perform()
          This will deploy all the required Addon
 void perform(AddonRepository target)
          This will deploy all the required addons to the specified AddonRepository
 

Method Detail

getRequestedAddon

DependencyNode getRequestedAddon()
The requested addon

Returns:

getOptionalAddons

List<DependencyNode> getOptionalAddons()
Returns an unmodifiable list of the required addons


getRequiredAddons

List<DependencyNode> getRequiredAddons()
Returns an unmodifiable list of the required addons


perform

void perform()
This will deploy all the required Addon


perform

void perform(AddonRepository target)
This will deploy all the required addons to the specified AddonRepository


Forge - Addon Manager API 2.0.0.Alpha3

Copyright © 2013 JBoss by Red Hat. All Rights Reserved.