public class

WorkflowAllowOnlyReporterConditionFactoryImpl

extends Object
implements WorkflowPluginConditionFactory
java.lang.Object
   ↳ com.atlassian.jira.plugin.workflow.WorkflowAllowOnlyReporterConditionFactoryImpl

Summary

Public Constructors
WorkflowAllowOnlyReporterConditionFactoryImpl()
Public Methods
Map getDescriptorParams(Map conditionParams)
Map getVelocityParams(String resourceName, AbstractDescriptor descriptor)
Given a plugin resource name, return the parameters it needs.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.plugin.workflow.WorkflowPluginFactory

Public Constructors

public WorkflowAllowOnlyReporterConditionFactoryImpl ()

Public Methods

public Map getDescriptorParams (Map conditionParams)

public Map getVelocityParams (String resourceName, AbstractDescriptor descriptor)

Given a plugin resource name, return the parameters it needs. When workflow editor is rendering or configuring a workflow condition, this method will be called to fill in a Velocity template.

Parameters
resourceName Typically "view", "input-parameters" or "edit-parameters".
descriptor A com.opensymphony.workflow.loader.ConditionDescriptor describing the Condition and its current configuration.
Returns
  • Map of params, eg. {"group": ['jira-users', 'jira-developers']}