org.rhq.enterprise.gui.inventory.resource
Class DetermineChildResourceCreationTypeUIBean
java.lang.Object
org.rhq.enterprise.gui.inventory.resource.DetermineChildResourceCreationTypeUIBean
public class DetermineChildResourceCreationTypeUIBean
- extends Object
- Author:
- Jason Dobies, Ian Springer
|
Method Summary |
String |
determineCreationType()
Determines which branch of the create workflow to take, based on the resource type selected (i.e. |
javax.faces.model.SelectItem[] |
getFailedCreateHistory()
Temporary hack to get around the bug in the RichFaces data table that breaks links in each row (see
http://jira.jboss.com/jira/browse/RF-250). |
org.rhq.core.domain.resource.CreateResourceHistory |
getRetryCreateItem()
|
void |
setRetryCreateItem(org.rhq.core.domain.resource.CreateResourceHistory retryCreateItem)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DetermineChildResourceCreationTypeUIBean
public DetermineChildResourceCreationTypeUIBean()
determineCreationType
public String determineCreationType()
- Determines which branch of the create workflow to take, based on the resource type selected (i.e. show the user
the resource configuration or the create artifact form).
- Returns:
- action forward
getFailedCreateHistory
public javax.faces.model.SelectItem[] getFailedCreateHistory()
- Temporary hack to get around the bug in the RichFaces data table that breaks links in each row (see
http://jira.jboss.com/jira/browse/RF-250). Ultimately, each failed row will have a button to retry the create.
Until that bug is fixed, use a separate dropdown with each failed create to select the one to retry. Note, Exadel
claims RF-250 is fixed in the 3.1.0 nightlies, but we're still seeing the issue.
- Returns:
- list of failed create history requests
getRetryCreateItem
public org.rhq.core.domain.resource.CreateResourceHistory getRetryCreateItem()
setRetryCreateItem
public void setRetryCreateItem(org.rhq.core.domain.resource.CreateResourceHistory retryCreateItem)
Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.