Class WorkflowPermissionValidatorPluginFactory
java.lang.Object
com.atlassian.jira.plugin.workflow.AbstractWorkflowPluginFactory
com.atlassian.jira.plugin.workflow.AbstractWorkflowPermissionPluginFactory
com.atlassian.jira.plugin.workflow.WorkflowPermissionValidatorPluginFactory
- All Implemented Interfaces:
WorkflowPluginFactory,WorkflowPluginValidatorFactory,WorkflowValidatorDescriptorEditPreprocessor
- Direct Known Subclasses:
WorkflowUserPermissionValidatorPluginFactory
public class WorkflowPermissionValidatorPluginFactory
extends AbstractWorkflowPermissionPluginFactory
implements WorkflowPluginValidatorFactory, WorkflowValidatorDescriptorEditPreprocessor
-
Constructor Summary
ConstructorsConstructorDescriptionWorkflowPermissionValidatorPluginFactory(JiraAuthenticationContext authenticationContext, PermissionManager permissionManager) -
Method Summary
Modifier and TypeMethodDescriptionvoidbeforeSaveOnEdit(com.opensymphony.workflow.loader.ValidatorDescriptor descriptor) Gets called immediately before saving of the workflow validator descriptor.protected Map<?, ?> extractArgs(com.opensymphony.workflow.loader.AbstractDescriptor descriptor) Methods inherited from class com.atlassian.jira.plugin.workflow.AbstractWorkflowPermissionPluginFactory
clearLegacyPermissionArgument, getDescriptorParams, getVelocityParamsForEdit, getVelocityParamsForInput, getVelocityParamsForView, populateTemplateParamsForInputAndEdit, populateTemplateParamsForViewMethods inherited from class com.atlassian.jira.plugin.workflow.AbstractWorkflowPluginFactory
createMap, extractMultipleParams, extractSingleParam, getVelocityParamsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.atlassian.jira.plugin.workflow.WorkflowPluginFactory
getDescriptorParams, getVelocityParams
-
Constructor Details
-
WorkflowPermissionValidatorPluginFactory
public WorkflowPermissionValidatorPluginFactory(JiraAuthenticationContext authenticationContext, PermissionManager permissionManager)
-
-
Method Details
-
extractArgs
- Specified by:
extractArgsin classAbstractWorkflowPermissionPluginFactory
-
beforeSaveOnEdit
public void beforeSaveOnEdit(com.opensymphony.workflow.loader.ValidatorDescriptor descriptor) Description copied from interface:WorkflowValidatorDescriptorEditPreprocessorGets called immediately before saving of the workflow validator descriptor.- Specified by:
beforeSaveOnEditin interfaceWorkflowValidatorDescriptorEditPreprocessor- Parameters:
descriptor- validator descriptor being saved
-