org.apache.maven.continuum.web.action
Class ScheduleAction

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.maven.continuum.web.action.ScheduleAction
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

public class ScheduleAction
extends ContinuumConfirmAction
implements com.opensymphony.xwork2.Preparable

Version:
$Id: ScheduleAction.java 1372260 2012-08-13 04:29:09Z brett $
Author:
Nik Gonzalez
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
ScheduleAction()
           
 
Method Summary
 String confirm()
           
 List<BuildQueue> getAvailableBuildQueues()
           
 String getDayOfMonth()
           
 String getDayOfWeek()
           
 int getDelay()
           
 String getDescription()
           
 String getHour()
           
 int getId()
           
 int getMaxJobExecutionTime()
           
 String getMinute()
           
 String getMonth()
           
 String getName()
           
 Schedule getSchedule()
           
 Collection getSchedules()
           
 String getSecond()
           
 List<BuildQueue> getSelectedBuildQueues()
           
 List<String> getSelectedBuildQueuesIds()
           
 String getYear()
           
 String input()
           
 boolean isActive()
           
 boolean isConfirmed()
           
 void prepare()
           
 String remove()
           
 String save()
           
 void setActive(boolean active)
           
 void setAvailableBuildQueues(List<BuildQueue> availableBuildQueues)
           
 void setConfirmed(boolean confirmed)
           
 void setDayOfMonth(String dayOfMonth)
           
 void setDayOfWeek(String dayOfWeek)
           
 void setDelay(int delay)
           
 void setDescription(String description)
           
 void setHour(String hour)
           
 void setId(int id)
           
 void setMaxJobExecutionTime(int maxJobExecutionTime)
           
 void setMinute(String minute)
           
 void setMonth(String month)
           
 void setName(String name)
           
 void setSchedule(Schedule schedule)
           
 void setSecond(String second)
           
 void setSelectedBuildQueues(List<BuildQueue> selectedBuildQueues)
           
 void setSelectedBuildQueuesIds(List<String> selectedBuildQueuesIds)
           
 void setYear(String year)
           
 String summary()
           
 
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

ScheduleAction

public ScheduleAction()
Method Detail

prepare

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

summary

public String summary()
               throws ContinuumException
Throws:
ContinuumException

input

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

save

public String save()
            throws ContinuumException
Throws:
ContinuumException

confirm

public String confirm()
               throws ContinuumException
Throws:
ContinuumException

remove

public String remove()
              throws ContinuumException
Throws:
ContinuumException

getSchedules

public Collection getSchedules()

getId

public int getId()

setId

public void setId(int id)

isActive

public boolean isActive()

setActive

public void setActive(boolean active)

getDelay

public int getDelay()

setDelay

public void setDelay(int delay)

getDescription

public String getDescription()

setDescription

public void setDescription(String description)

getName

public String getName()

setName

public void setName(String name)

getSchedule

public Schedule getSchedule()

setSchedule

public void setSchedule(Schedule schedule)

isConfirmed

public boolean isConfirmed()
Overrides:
isConfirmed in class ContinuumConfirmAction

setConfirmed

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

getMaxJobExecutionTime

public int getMaxJobExecutionTime()

setMaxJobExecutionTime

public void setMaxJobExecutionTime(int maxJobExecutionTime)

getSecond

public String getSecond()

setSecond

public void setSecond(String second)

getMinute

public String getMinute()

setMinute

public void setMinute(String minute)

getHour

public String getHour()

setHour

public void setHour(String hour)

getDayOfMonth

public String getDayOfMonth()

setDayOfMonth

public void setDayOfMonth(String dayOfMonth)

getYear

public String getYear()

setYear

public void setYear(String year)

getMonth

public String getMonth()

setMonth

public void setMonth(String month)

getDayOfWeek

public String getDayOfWeek()

setDayOfWeek

public void setDayOfWeek(String dayOfWeek)

getAvailableBuildQueues

public List<BuildQueue> getAvailableBuildQueues()

setAvailableBuildQueues

public void setAvailableBuildQueues(List<BuildQueue> availableBuildQueues)

getSelectedBuildQueues

public List<BuildQueue> getSelectedBuildQueues()

setSelectedBuildQueues

public void setSelectedBuildQueues(List<BuildQueue> selectedBuildQueues)

getSelectedBuildQueuesIds

public List<String> getSelectedBuildQueuesIds()

setSelectedBuildQueuesIds

public void setSelectedBuildQueuesIds(List<String> selectedBuildQueuesIds)


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