diff 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
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/ssdt-jira-plugins-v2/plugins/src/main/java/org/nwoca/ssdt/jira/RequireEstimateValidatorFactory.java	Thu May 22 15:45:43 2008 -0400
@@ -0,0 +1,40 @@
+/*
+ * RequireDocumentIssueValidatorFactory.java
+ *
+ * Created on May 14, 2007, 2:56 PM
+ *
+ * To change this template, choose Tools | Template Manager
+ * and open the template in the editor.
+ */
+
+package org.nwoca.ssdt.jira;
+
+import com.atlassian.jira.plugin.workflow.AbstractWorkflowPluginFactory;
+import com.atlassian.jira.plugin.workflow.WorkflowPluginValidatorFactory;
+import com.opensymphony.workflow.loader.AbstractDescriptor;
+import java.util.Map;
+
+/**
+ *
+ * @author SMITH
+ */
+public class RequireEstimateValidatorFactory extends
+        AbstractWorkflowPluginFactory implements WorkflowPluginValidatorFactory    {
+    /** Creates a new instance of RequireDocumentIssueValidatorFactory */
+    public RequireEstimateValidatorFactory() {
+    }
+
+    protected void getVelocityParamsForView(Map map, AbstractDescriptor abstractDescriptor) {
+    }
+
+    protected void getVelocityParamsForInput(Map map) {
+    }
+
+    protected void getVelocityParamsForEdit(Map map, AbstractDescriptor abstractDescriptor) {
+    }
+
+    public Map getDescriptorParams(Map map) {
+        return map;
+    }
+    
+}