com.atlassian.bamboo.ww2.actions.admin.bulk
Class UpdateCvsModuleBulkAction

java.lang.Object
  extended by com.opensymphony.xwork.ActionSupport
      extended by com.atlassian.bamboo.ww2.BambooActionSupport
          extended by com.atlassian.bamboo.ww2.actions.admin.bulk.UpdateCvsModuleBulkAction
All Implemented Interfaces:
ErrorCollection, BulkAction, BambooSessionAware, DomainObjectSecurityAware, GlobalReadSecurityAware, ReturnUrlAware, com.atlassian.core.i18n.I18nTextProvider, com.opensymphony.xwork.Action, com.opensymphony.xwork.LocaleProvider, com.opensymphony.xwork.TextProvider, com.opensymphony.xwork.Validateable, com.opensymphony.xwork.ValidationAware, com.uwyn.rife.continuations.ContinuableObject, java.io.Serializable, java.lang.Cloneable

public class UpdateCvsModuleBulkAction
extends BambooActionSupport
implements BulkAction

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface com.atlassian.bamboo.ww2.actions.admin.bulk.BulkAction
BulkAction.WebWorkAction
 
Field Summary
 
Fields inherited from class com.atlassian.bamboo.ww2.BambooActionSupport
administrationConfigurationManager, buildManager, CONFIRM, cookieCutter, dashboardCachingManager
 
Fields inherited from class com.opensymphony.xwork.ActionSupport
LOG
 
Fields inherited from interface com.opensymphony.xwork.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
 
Constructor Summary
UpdateCvsModuleBulkAction(RepositoryManager repositoryManager)
           
 
Method Summary
 java.lang.String getChangedItem()
          Description of what's being "bulked"
 BulkAction.WebWorkAction getEditSnippetAction()
          Action to return the edit snipper (no form tags) edit the value.
 BulkAction.WebWorkAction getExecuteAction()
          The final action to execute to act on the bulk action
 java.lang.String getKey()
          Unique identifier for the action
 java.lang.String getNewBranchName(java.util.Map<java.lang.String,java.lang.String[]> params)
           
 java.lang.String getNewCvsModule(java.util.Map<java.lang.String,java.lang.String[]> params)
           
 java.lang.String getNewVersionType(java.util.Map<java.lang.String,java.lang.String[]> params)
           
 java.lang.String getTitle()
          What the label for the bulk action is
 java.util.Collection<NameValuePair> getVersionTypes()
           
 BulkAction.WebWorkAction getViewAction()
          Action to run to get the view of the current value for this bulk action
 BulkAction.WebWorkAction getViewUpdatedAction()
          Action to run to get the view of the updated value for this bulk action
 boolean isApplicable(Build plan)
          Returns whether or not a plan is applicable for a certain bulk action, eg.
 
Methods inherited from class com.atlassian.bamboo.ww2.BambooActionSupport
addError, addError, addErrorCollection, addErrorMessage, addErrorMessage, addErrorMessages, addErrors, addIllegalArgumentException, areCheckBoxesEmpty, doDefault, doesLabelKeyHaveMatchingDescription, doExecute, execute, getAdministrationConfiguration, getBamboo, getBambooLicenseManager, getBambooSession, getBambooUserManager, getBaseUrl, getBootstrapManager, getBreadCrumbs, getBuildManager, getConglomerateCookieValue, getCookieCutter, getCookieValue, getCurrentSystemTime, getCurrentUrl, getDefaultPersister, getDescriptionFromLabelKey, getFlushedErrorMessages, getInstanceName, getPlan, getReturnUrl, getSecuredDomainObject, getSessionUser, getText, getTotalErrors, getUser, getValidatorContext, getWebFragmentsContextMap, getWebItemsForSection, getWebSectionsForLocation, hasAnyErrors, hasBuilds, hasGlobalPermission, hasPlanPermission, hasPlanPermission, isEnableJavascript, isEnableSignup, isSelectFieldAndNull, renderFreemarkerTemplate, setAdministrationConfigurationManager, setAuthenticationContext, setBambooLicenseManager, setBambooPermissionManager, setBambooUserManager, setBuildManager, setCookieCutter, setDashboardCachingManager, setEnableJavascript, setErrorMessages, setReturnUrl, setWebInterfaceManager
 
Methods inherited from class com.opensymphony.xwork.ActionSupport
addActionError, addActionMessage, addFieldError, clearErrorsAndMessages, clone, doInput, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getLocale, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, hasKey, pause, setActionErrors, setActionMessages, setFieldErrors, validate
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.atlassian.bamboo.utils.error.ErrorCollection
getErrorMessages, getErrors, getFieldErrors
 
Methods inherited from interface com.atlassian.core.i18n.I18nTextProvider
getText
 

Constructor Detail

UpdateCvsModuleBulkAction

public UpdateCvsModuleBulkAction(RepositoryManager repositoryManager)
Method Detail

getKey

@NotNull
public java.lang.String getKey()
Description copied from interface: BulkAction
Unique identifier for the action

Specified by:
getKey in interface BulkAction
Returns:

getTitle

@NotNull
public java.lang.String getTitle()
Description copied from interface: BulkAction
What the label for the bulk action is

Specified by:
getTitle in interface BulkAction
Returns:

getChangedItem

@NotNull
public java.lang.String getChangedItem()
Description copied from interface: BulkAction
Description of what's being "bulked"

Specified by:
getChangedItem in interface BulkAction
Returns:

getViewAction

@NotNull
public BulkAction.WebWorkAction getViewAction()
Description copied from interface: BulkAction
Action to run to get the view of the current value for this bulk action

Specified by:
getViewAction in interface BulkAction
Returns:

getViewUpdatedAction

@NotNull
public BulkAction.WebWorkAction getViewUpdatedAction()
Description copied from interface: BulkAction
Action to run to get the view of the updated value for this bulk action

Specified by:
getViewUpdatedAction in interface BulkAction
Returns:

getEditSnippetAction

@NotNull
public BulkAction.WebWorkAction getEditSnippetAction()
Description copied from interface: BulkAction
Action to return the edit snipper (no form tags) edit the value. The snippet will not have access to any plan values

Specified by:
getEditSnippetAction in interface BulkAction
Returns:

getExecuteAction

@NotNull
public BulkAction.WebWorkAction getExecuteAction()
Description copied from interface: BulkAction
The final action to execute to act on the bulk action

Specified by:
getExecuteAction in interface BulkAction
Returns:

isApplicable

public boolean isApplicable(Build plan)
Description copied from interface: BulkAction
Returns whether or not a plan is applicable for a certain bulk action, eg. only plans with svn repositories for an action updating svn details

Specified by:
isApplicable in interface BulkAction
Returns:
true if applicable

getVersionTypes

@NotNull
public java.util.Collection<NameValuePair> getVersionTypes()

getNewCvsModule

public java.lang.String getNewCvsModule(java.util.Map<java.lang.String,java.lang.String[]> params)

getNewVersionType

public java.lang.String getNewVersionType(java.util.Map<java.lang.String,java.lang.String[]> params)

getNewBranchName

public java.lang.String getNewBranchName(java.util.Map<java.lang.String,java.lang.String[]> params)


Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.