com.atlassian.bamboo.configuration
Class LicenseAction
java.lang.Object
ActionSupport
com.atlassian.bamboo.ww2.BambooActionSupport
com.atlassian.bamboo.webwork.AbstractAction
com.atlassian.bamboo.configuration.AbstractLicenseAction
com.atlassian.bamboo.configuration.LicenseAction
- All Implemented Interfaces:
- ErrorCollection, BambooSessionAware, ReturnUrlAware
public class LicenseAction
- extends AbstractLicenseAction
Method Summary |
String |
doDefault()
By default, we simply display the contents of the current license |
String |
doExecute()
Update the license with a new one. |
void |
validate()
Ensure the page is populated if we get a validation error |
Methods inherited from class com.atlassian.bamboo.ww2.BambooActionSupport |
addError, addError, addErrorCollection, addErrorMessage, addErrorMessages, addErrors, addIllegalArgumentException, doesLabelKeyHaveMatchingDescription, getAsPreformattedText, getBambooSession, getBreadCrumbs, getBuildManager, getConglomerateCookieValue, getCookieCutter, getCookieValue, getCurrentUrl, getDescriptionFromLabelKey, getFlushedErrorMessages, getReturnUrl, getUser, getWebItemsForSection, getWebResourceManager, getWebSectionsForLocation, hasAnyErrors, hasBuilds, hasPerm, isEnableSignup, isSelectFieldAndNull, setAuthenticationContext, setBambooPermissionManager, setBuildManager, setCookieCutter, setErrorMessages, setHtmlUtils, setReturnUrl, setWebInterfaceManager, setWebResourceManager |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LicenseAction
public LicenseAction()
validate
public void validate()
- Ensure the page is populated if we get a validation error
- Overrides:
validate
in class AbstractAction
doDefault
public String doDefault()
throws Exception
- By default, we simply display the contents of the current license
- Overrides:
doDefault
in class AbstractAction
- Returns:
- The webwork default status
- Throws:
Exception
- A generic exception
doExecute
public String doExecute()
throws Exception
- Update the license with a new one.
- Overrides:
doExecute
in class AbstractAction
- Returns:
- The webwork return status
- Throws:
Exception
- A generic exception
Copyright © 2006 Atlassian Software Systems. All Rights Reserved.