Hyperic HQ Plugin API v. 4.4.0.2

org.hyperic.hq.ui.action.resource.application.inventory
Class AddServiceDependenciesFormPrepareAction

java.lang.Object
  extended by org.apache.struts.action.Action
      extended by org.apache.struts.tiles.actions.TilesAction
          extended by org.hyperic.hq.ui.action.resource.application.inventory.AddServiceDependenciesFormPrepareAction

public class AddServiceDependenciesFormPrepareAction
extends org.apache.struts.tiles.actions.TilesAction

To populate the "Add Dependencies" page (2.1.6.5), this class accesses a list of services associated with the current application that are not ancestors of the current service (obviously, we can't allow circular dependencies).

Available services are all services in the system that are associated with the application (i.e. it's in the DependencyTree) but
1) the current service doesn't presently depend on it (it's ok if the current service depends on it _indirectly_ i.e. via another dependency) and
2) the potential dependency doesn't depend on the current one


Field Summary
 
Fields inherited from class org.apache.struts.action.Action
servlet
 
Constructor Summary
AddServiceDependenciesFormPrepareAction()
           
 
Method Summary
 org.apache.struts.action.ActionForward execute(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 
Methods inherited from class org.apache.struts.tiles.actions.TilesAction
execute
 
Methods inherited from class org.apache.struts.action.Action
addErrors, addMessages, execute, generateToken, getErrors, getLocale, getMessages, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, saveErrors, saveErrors, saveMessages, saveMessages, saveToken, setLocale, setServlet
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AddServiceDependenciesFormPrepareAction

public AddServiceDependenciesFormPrepareAction()
Method Detail

execute

public org.apache.struts.action.ActionForward execute(org.apache.struts.action.ActionMapping mapping,
                                                      org.apache.struts.action.ActionForm form,
                                                      javax.servlet.http.HttpServletRequest request,
                                                      javax.servlet.http.HttpServletResponse response)
                                               throws java.lang.Exception
Overrides:
execute in class org.apache.struts.tiles.actions.TilesAction
Throws:
java.lang.Exception

Hyperic HQ Plugin API v. 4.4.0.2

Copyright © 2004-2006 Hyperic, Inc. support@hyperic.net, All Rights Reserved.