comparison ssdt-jira-plugins-v2/plugins/src/main/java/org/nwoca/ssdt/jira/RequireEstimateValidatorFactory.java @ 1:56349dc044f5

Added validators for Time tracking. Validators: Require an estimate and require no time remaining
author smith
date Thu, 22 May 2008 15:45:43 -0400
parents
children
comparison
equal deleted inserted replaced
0:92d945347fc0 1:56349dc044f5
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 RequireEstimateValidatorFactory extends
22 AbstractWorkflowPluginFactory implements WorkflowPluginValidatorFactory {
23 /** Creates a new instance of RequireDocumentIssueValidatorFactory */
24 public RequireEstimateValidatorFactory() {
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 }