comparison ssdt-jira-plugins-v2/plugins/src/main/java/org/nwoca/ssdt/jira/RequireTimeSpentValidatorFactory.java @ 2:4ca1ef5be75e

Added validators for Time tracking. New validator to require Time Spent.
author smith
date Fri, 23 May 2008 18:06:10 -0400
parents
children
comparison
equal deleted inserted replaced
1:56349dc044f5 2:4ca1ef5be75e
1 /*
2 * RequireDocumentIssueValidatorFactory.java
3 *
4 * Created on May 14, 2007, 2:56 PM
5 *
6 * To change this template, choose Tools | Template Manager
7 * and open the template in the editor.
8 */
9
10 package org.nwoca.ssdt.jira;
11
12 import com.atlassian.jira.plugin.workflow.AbstractWorkflowPluginFactory;
13 import com.atlassian.jira.plugin.workflow.WorkflowPluginValidatorFactory;
14 import com.opensymphony.workflow.loader.AbstractDescriptor;
15 import java.util.Map;
16
17 /**
18 *
19 * @author SMITH
20 */
21 public class RequireTimeSpentValidatorFactory extends
22 AbstractWorkflowPluginFactory implements WorkflowPluginValidatorFactory {
23 /** Creates a new instance of RequireDocumentIssueValidatorFactory */
24 public RequireTimeSpentValidatorFactory() {
25 }
26
27 protected void getVelocityParamsForView(Map map, AbstractDescriptor abstractDescriptor) {
28 }
29
30 protected void getVelocityParamsForInput(Map map) {
31 }
32
33 protected void getVelocityParamsForEdit(Map map, AbstractDescriptor abstractDescriptor) {
34 }
35
36 public Map getDescriptorParams(Map map) {
37 return map;
38 }
39
40 }