view ssdt-jira-plugins-v2/plugins/src/main/java/org/nwoca/ssdt/jira/RequireNoTimeRemainingValidatorFactory.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 source
/*
 * 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 RequireNoTimeRemainingValidatorFactory extends
        AbstractWorkflowPluginFactory implements WorkflowPluginValidatorFactory    {
    /** Creates a new instance of RequireDocumentIssueValidatorFactory */
    public RequireNoTimeRemainingValidatorFactory() {
    }

    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;
    }
    
}