org.apache.continuum.web.action.admin
Class PurgeConfigurationAction

java.lang.Object
  extended by com.opensymphony.xwork2.ActionSupport
      extended by org.apache.maven.continuum.web.action.PlexusActionSupport
          extended by org.apache.maven.continuum.web.action.ContinuumActionSupport
              extended by org.apache.maven.continuum.web.action.ContinuumConfirmAction
                  extended by org.apache.continuum.web.action.admin.PurgeConfigurationAction
All Implemented Interfaces:
com.opensymphony.xwork2.Action, com.opensymphony.xwork2.LocaleProvider, com.opensymphony.xwork2.Preparable, com.opensymphony.xwork2.TextProvider, com.opensymphony.xwork2.Validateable, com.opensymphony.xwork2.ValidationAware, Serializable, org.apache.struts2.interceptor.SessionAware, org.codehaus.redback.integration.interceptor.SecureAction

public class PurgeConfigurationAction
extends ContinuumConfirmAction
implements com.opensymphony.xwork2.Preparable, org.codehaus.redback.integration.interceptor.SecureAction

Since:
25 jul 07
Version:
$Id: PurgeConfigurationAction.java 1372260 2012-08-13 04:29:09Z brett $
Author:
Maria Catherine Tan
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.maven.continuum.web.action.ContinuumConfirmAction
action, CONFIRM, confirmationTitle, confirmedDisplay, confirmedName, confirmedValue
 
Fields inherited from class org.apache.maven.continuum.web.action.ContinuumActionSupport
dateFormatter, ERROR_MSG_AUTHORIZATION_REQUIRED, ERROR_MSG_PROCESSING_AUTHORIZATION, RELEASE_ERROR, REQUIRES_AUTHENTICATION, REQUIRES_AUTHORIZATION
 
Fields inherited from class org.apache.maven.continuum.web.action.PlexusActionSupport
session
 
Fields inherited from class com.opensymphony.xwork2.ActionSupport
LOG
 
Fields inherited from interface com.opensymphony.xwork2.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
 
Constructor Summary
PurgeConfigurationAction()
           
 
Method Summary
 int getDaysOlder()
           
 String getDescription()
           
 String getDirectoryType()
           
 List<String> getDirectoryTypes()
           
 List<DirectoryPurgeConfiguration> getDirPurgeConfigs()
           
 String getMessage()
           
 AbstractPurgeConfiguration getPurgeConfig()
           
 int getPurgeConfigId()
           
 String getPurgeType()
           
 List<RepositoryPurgeConfiguration> getRepoPurgeConfigs()
           
 Map<Integer,String> getRepositories()
           
 int getRepositoryId()
           
 int getRetentionCount()
           
 int getScheduleId()
           
 Map<Integer,String> getSchedules()
           
 org.codehaus.redback.integration.interceptor.SecureActionBundle getSecureActionBundle()
           
 String input()
           
 boolean isConfirmed()
           
 boolean isDefaultPurgeConfiguration()
           
 boolean isDeleteAll()
           
 boolean isDeleteReleasedSnapshots()
           
 boolean isEnabled()
           
 String list()
           
 void prepare()
           
 String purge()
           
 String remove()
           
 String save()
           
 void setConfirmed(boolean confirmed)
           
 void setDaysOlder(int daysOlder)
           
 void setDefaultPurgeConfiguration(boolean defaultPurgeConfiguration)
           
 void setDeleteAll(boolean deleteAll)
           
 void setDeleteReleasedSnapshots(boolean deleteReleasedSnapshots)
           
 void setDescription(String description)
           
 void setDirectoryType(String directoryType)
           
 void setDirectoryTypes(List<String> directoryTypes)
           
 void setDirPurgeConfigs(List<DirectoryPurgeConfiguration> dirPurgeConfigs)
           
 void setEnabled(boolean enabled)
           
 void setMessage(String message)
           
 void setPurgeConfig(AbstractPurgeConfiguration purgeConfig)
           
 void setPurgeConfigId(int purgeConfigId)
           
 void setPurgeType(String purgeType)
           
 void setRepoPurgeConfigs(List<RepositoryPurgeConfiguration> repoPurgeConfigs)
           
 void setRepositories(Map<Integer,String> repositories)
           
 void setRepositoryId(int repositoryId)
           
 void setRetentionCount(int retentionCount)
           
 void setScheduleId(int scheduleId)
           
 void setSchedules(Map<Integer,String> schedules)
           
 
Methods inherited from class org.apache.maven.continuum.web.action.ContinuumConfirmAction
getAction, getConfirmationTitle, getConfirmedDisplay, getConfirmedName, getConfirmedValue, setAction, setConfirmationInfo, setConfirmationTitle, setConfirmedDisplay, setConfirmedName, setConfirmedValue
 
Methods inherited from class org.apache.maven.continuum.web.action.ContinuumActionSupport
checkAddGroupBuildDefinitionAuthorization, checkAddProjectBuildDefinitionAuthorization, checkAddProjectGroupAuthorization, checkAddProjectGroupNotifierAuthorization, checkAddProjectNotifierAuthorization, checkAddProjectToGroupAuthorization, checkAuthorization, checkAuthorization, checkAuthorization, checkBuildProjectGroupAuthorization, checkBuildProjectInGroupAuthorization, checkManageConfigurationAuthorization, checkManageLocalRepositoriesAuthorization, checkManageQueuesAuthorization, checkManageSchedulesAuthorization, checkModifyGroupBuildDefinitionAuthorization, checkModifyProjectBuildDefinitionAuthorization, checkModifyProjectGroupAuthorization, checkModifyProjectGroupNotifierAuthorization, checkModifyProjectInGroupAuthorization, checkModifyProjectNotifierAuthorization, checkRemoveGroupBuildDefinitionAuthorization, checkRemoveProjectBuildDefinitionAuthorization, checkRemoveProjectFromGroupAuthorization, checkRemoveProjectGroupAuthorization, checkRemoveProjectGroupNotifierAuthorization, checkRemoveProjectNotifierAuthorization, checkViewProjectGroupAuthorization, checkViewReportsAuthorization, doDefault, execute, getContinuum, getPrincipal, getResourceBundle, getSecuritySystem, getUser, isAuthenticated, requiresAuthentication, setContinuum
 
Methods inherited from class org.apache.maven.continuum.web.action.PlexusActionSupport
setSession
 
Methods inherited from class com.opensymphony.xwork2.ActionSupport
addActionError, addActionMessage, addFieldError, clearActionErrors, clearErrors, clearErrorsAndMessages, clearFieldErrors, clearMessages, clone, 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
 

Constructor Detail

PurgeConfigurationAction

public PurgeConfigurationAction()
Method Detail

prepare

public void prepare()
             throws Exception
Specified by:
prepare in interface com.opensymphony.xwork2.Preparable
Overrides:
prepare in class ContinuumActionSupport
Throws:
Exception

input

public String input()
             throws Exception
Overrides:
input in class ContinuumActionSupport
Throws:
Exception

list

public String list()
            throws Exception
Throws:
Exception

save

public String save()
            throws Exception
Throws:
Exception

remove

public String remove()
              throws Exception
Throws:
Exception

purge

public String purge()
             throws Exception
Throws:
Exception

getPurgeType

public String getPurgeType()

setPurgeType

public void setPurgeType(String purgeType)

getDirectoryType

public String getDirectoryType()

setDirectoryType

public void setDirectoryType(String directoryType)

getDescription

public String getDescription()

setDescription

public void setDescription(String description)

getMessage

public String getMessage()

setMessage

public void setMessage(String message)

isDeleteAll

public boolean isDeleteAll()

setDeleteAll

public void setDeleteAll(boolean deleteAll)

isDeleteReleasedSnapshots

public boolean isDeleteReleasedSnapshots()

setDeleteReleasedSnapshots

public void setDeleteReleasedSnapshots(boolean deleteReleasedSnapshots)

isEnabled

public boolean isEnabled()

setEnabled

public void setEnabled(boolean enabled)

isConfirmed

public boolean isConfirmed()
Overrides:
isConfirmed in class ContinuumConfirmAction

setConfirmed

public void setConfirmed(boolean confirmed)
Overrides:
setConfirmed in class ContinuumConfirmAction

isDefaultPurgeConfiguration

public boolean isDefaultPurgeConfiguration()

setDefaultPurgeConfiguration

public void setDefaultPurgeConfiguration(boolean defaultPurgeConfiguration)

getRetentionCount

public int getRetentionCount()

setRetentionCount

public void setRetentionCount(int retentionCount)

getDaysOlder

public int getDaysOlder()

setDaysOlder

public void setDaysOlder(int daysOlder)

getRepositoryId

public int getRepositoryId()

setRepositoryId

public void setRepositoryId(int repositoryId)

getScheduleId

public int getScheduleId()

setScheduleId

public void setScheduleId(int scheduleId)

getPurgeConfigId

public int getPurgeConfigId()

setPurgeConfigId

public void setPurgeConfigId(int purgeConfigId)

getPurgeConfig

public AbstractPurgeConfiguration getPurgeConfig()

setPurgeConfig

public void setPurgeConfig(AbstractPurgeConfiguration purgeConfig)

getRepositories

public Map<Integer,String> getRepositories()

setRepositories

public void setRepositories(Map<Integer,String> repositories)

getSchedules

public Map<Integer,String> getSchedules()

setSchedules

public void setSchedules(Map<Integer,String> schedules)

getRepoPurgeConfigs

public List<RepositoryPurgeConfiguration> getRepoPurgeConfigs()

setRepoPurgeConfigs

public void setRepoPurgeConfigs(List<RepositoryPurgeConfiguration> repoPurgeConfigs)

getDirPurgeConfigs

public List<DirectoryPurgeConfiguration> getDirPurgeConfigs()

setDirPurgeConfigs

public void setDirPurgeConfigs(List<DirectoryPurgeConfiguration> dirPurgeConfigs)

getDirectoryTypes

public List<String> getDirectoryTypes()

setDirectoryTypes

public void setDirectoryTypes(List<String> directoryTypes)

getSecureActionBundle

public org.codehaus.redback.integration.interceptor.SecureActionBundle getSecureActionBundle()
                                                                                      throws org.codehaus.redback.integration.interceptor.SecureActionException
Specified by:
getSecureActionBundle in interface org.codehaus.redback.integration.interceptor.SecureAction
Throws:
org.codehaus.redback.integration.interceptor.SecureActionException


Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.