view 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
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 RequireTimeSpentValidatorFactory extends
        AbstractWorkflowPluginFactory implements WorkflowPluginValidatorFactory    {
    /** Creates a new instance of RequireDocumentIssueValidatorFactory */
    public RequireTimeSpentValidatorFactory() {
    }

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