org.figure8.join.control.form
Class QuartzCronForm
java.lang.Object
org.apache.struts.action.ActionForm
org.figure8.join.control.JoinForm
org.figure8.join.control.form.QuartzCronForm
- All Implemented Interfaces:
- java.io.Serializable
public class QuartzCronForm
- extends JoinForm
Form to control the actions on Cron instances.
- Version:
- $Revision: 1.2 $
- Author:
- Jerome Evrard
- See Also:
- Serialized Form
Fields inherited from class org.apache.struts.action.ActionForm |
multipartRequestHandler, servlet |
Constructor Summary |
QuartzCronForm()
Creates a new instance of QuartzCronForm |
Methods inherited from class org.figure8.join.control.JoinForm |
addActionError, addActionError, addActionError, getGuiMessageResources, getId, getIdStr, getMessageResources, reset, setId, setIdStr, validate, validateEntityObjectId |
Methods inherited from class org.apache.struts.action.ActionForm |
getMultipartRequestHandler, getServlet, getServletWrapper, reset, setMultipartRequestHandler, setServlet, validate |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QuartzCronForm
public QuartzCronForm()
- Creates a new instance of QuartzCronForm
getName
public java.lang.String getName()
- Returns:
- Returns the name of the current cron.
setName
public void setName(java.lang.String name)
- Parameters:
name
- The name to set.
getCronExpression
public java.lang.String getCronExpression()
- Returns:
- Returns the cronExpression.
setCronExpression
public void setCronExpression(java.lang.String cronExpression)
- Parameters:
cronExpression
- The cronExpression to set.
getJobClass
public java.lang.String getJobClass()
- Returns:
- The name of class implementing the job of cron
setJobClass
public void setJobClass(java.lang.String jobClass)
- Parameters:
jobClass
- The name of class implementing the job of cron
getUserProperties
public java.lang.String getUserProperties()
- Returns:
- Returns the userProperties.
setUserProperties
public void setUserProperties(java.lang.String userProperties)
- Parameters:
userProperties
- The userProperties to set.
getParameters
public java.util.Map getParameters()
- Returns:
- Map of parameters associated to consumer.
getMappedParameter
public java.lang.Object getMappedParameter(java.lang.String key)
- Parameters:
key
- Name of parameter to get value for
- Returns:
- string representing parameter value, null if unknown
setMappedParameter
public void setMappedParameter(java.lang.String key,
java.lang.Object value)
- Parameters:
key
- Name of parameter to set value forvalue
- Value of parameters (String representation)
addParameter
public void addParameter(QuartzCronParameterInfo parameter)
- Parameters:
parameter
- Existing consumer parameter to add to map ones.
doValidate
public void doValidate(java.lang.String operation,
org.apache.struts.action.ActionMapping mapping,
javax.servlet.http.HttpServletRequest request)
- Validation of the form attributes.
- Specified by:
doValidate
in class JoinForm
- Parameters:
operation
- String representing the operation to invoke on Actionmapping
- Mapping between forwards name and path for this actionrequest
- The servlet container request wrapper
Copyright © 2005-2008 Join. All Rights Reserved.