|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectActionSupport
com.atlassian.bamboo.ww2.BambooActionSupport
com.atlassian.bamboo.webwork.AbstractAction
public class AbstractAction
This class provides common web works action behaviour.
Field Summary |
---|
Fields inherited from class com.atlassian.bamboo.ww2.BambooActionSupport |
---|
buildManager, CONFIRM, cookieCutter |
Constructor Summary | |
---|---|
AbstractAction()
|
Method Summary | |
---|---|
protected void |
addFormErrors(ErrorCollection errorCollection)
Add the given errorCollection to the web work page errors |
String |
doDefault()
Places the current user on the page |
String |
doExecute()
Places the current user on the page |
String |
execute()
|
Action |
getAction()
Method used in velocity to get reference to the current action (so you can run methods on it) |
protected AdministrationConfiguration |
getAdministrationConfiguration()
Makes the current Admin configuration available to an action |
Bamboo |
getBamboo()
Obtain the action's Bamboo instance |
String |
getBaseUrl()
|
void |
setAdministrationConfiguration(AdministrationConfiguration administrationConfiguration)
|
void |
validate()
Place the user in the page context |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.atlassian.bamboo.utils.error.ErrorCollection |
---|
getErrorMessages, getErrors, getFieldErrors |
Constructor Detail |
---|
public AbstractAction()
Method Detail |
---|
public Bamboo getBamboo()
getBamboo
in class BambooActionSupport
protected AdministrationConfiguration getAdministrationConfiguration()
public void setAdministrationConfiguration(AdministrationConfiguration administrationConfiguration)
public String getBaseUrl()
protected void addFormErrors(ErrorCollection errorCollection)
errorCollection
- Errors generated by a Bamboo componentpublic String doDefault() throws Exception
doDefault
in class BambooActionSupport
Exception
- something nasty went wrongpublic String doExecute() throws Exception
Exception
- something nasty went wrongpublic String execute() throws Exception
Exception
public void validate()
public Action getAction()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |