org.figure8.join.control.form
Class QuartzCronForm

java.lang.Object
  extended by org.apache.struts.action.ActionForm
      extended by org.figure8.join.control.JoinForm
          extended by 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

Field Summary
 
Fields inherited from class org.figure8.join.control.JoinForm
errors
 
Fields inherited from class org.apache.struts.action.ActionForm
multipartRequestHandler, servlet
 
Constructor Summary
QuartzCronForm()
          Creates a new instance of QuartzCronForm
 
Method Summary
 void addParameter(QuartzCronParameterInfo parameter)
           
 void doValidate(java.lang.String operation, org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
          Validation of the form attributes.
 java.lang.String getCronExpression()
           
 java.lang.String getJobClass()
           
 java.lang.Object getMappedParameter(java.lang.String key)
           
 java.lang.String getName()
           
 java.util.Map getParameters()
           
 java.lang.String getUserProperties()
           
 void setCronExpression(java.lang.String cronExpression)
           
 void setJobClass(java.lang.String jobClass)
           
 void setMappedParameter(java.lang.String key, java.lang.Object value)
           
 void setName(java.lang.String name)
           
 void setUserProperties(java.lang.String userProperties)
           
 
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
 

Constructor Detail

QuartzCronForm

public QuartzCronForm()
Creates a new instance of QuartzCronForm

Method Detail

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 for
value - 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 Action
mapping - Mapping between forwards name and path for this action
request - The servlet container request wrapper


Copyright © 2005-2008 Join. All Rights Reserved.