com.atlassian.bamboo.build
Class BuildExpiry

java.lang.Object
  extended by ActionSupport
      extended by com.atlassian.bamboo.ww2.BambooActionSupport
          extended by com.atlassian.bamboo.webwork.AbstractAction
              extended by com.atlassian.bamboo.build.BuildExpiry
All Implemented Interfaces:
ErrorCollection, BambooSessionAware, ReturnUrlAware

public class BuildExpiry
extends AbstractAction

This class implements the BuildExpiryConfiguration web page behaviour.


Field Summary
 
Fields inherited from class com.atlassian.bamboo.ww2.BambooActionSupport
buildManager, CONFIRM, cookieCutter
 
Constructor Summary
BuildExpiry()
           
 
Method Summary
 String doDefault()
          Places the current user on the page
 String doExecute()
          Places the current user on the page
 int getDuration()
           
 String getPeriod()
           
 boolean isEnabled()
           
 void setDuration(int duration)
           
 void setEnabled(boolean isEnabled)
           
 void setPeriod(String range)
           
 void validate()
          Place the user in the page context
 
Methods inherited from class com.atlassian.bamboo.webwork.AbstractAction
addFormErrors, execute, getAction, getAdministrationConfiguration, getBamboo, getBaseUrl, setAdministrationConfiguration
 
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
 
Methods inherited from interface com.atlassian.bamboo.utils.error.ErrorCollection
getErrorMessages, getErrors, getFieldErrors
 

Constructor Detail

BuildExpiry

public BuildExpiry()
Method Detail

validate

public void validate()
Description copied from class: AbstractAction
Place the user in the page context

Overrides:
validate in class AbstractAction

doDefault

public String doDefault()
                 throws Exception
Description copied from class: AbstractAction
Places the current user on the page

Overrides:
doDefault in class AbstractAction
Returns:
webwork success status
Throws:
Exception - something nasty went wrong

doExecute

public String doExecute()
                 throws Exception
Description copied from class: AbstractAction
Places the current user on the page

Overrides:
doExecute in class AbstractAction
Returns:
webwork success status
Throws:
Exception - something nasty went wrong

isEnabled

public boolean isEnabled()

setEnabled

public void setEnabled(boolean isEnabled)

getPeriod

public String getPeriod()

setPeriod

public void setPeriod(String range)

getDuration

public int getDuration()

setDuration

public void setDuration(int duration)


Copyright © 2006 Atlassian Software Systems. All Rights Reserved.