public class

DefaultOSWorkflowConfigurator

extends Object
implements Startable OSWorkflowConfigurator
java.lang.Object
   ↳ com.atlassian.jira.workflow.DefaultOSWorkflowConfigurator

Class Overview

Provides a way for JIRA to configure OSWorkflow to lookup condition, validator, and post-function classes by setting the TypeResolver.

Summary

Public Constructors
DefaultOSWorkflowConfigurator()
Public Methods
void registerTypeResolver(String className, TypeResolver typeResolver)
Registers a TypeResolver for the given class.
void start()
This method wil be called after the plugin system is fully initialised and all components added to the dependency injection framework.
void unregisterTypeResolver(String className, TypeResolver typeResolver)
Unregisters a TypeResolver from the given class.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.extension.Startable
From interface com.atlassian.jira.workflow.OSWorkflowConfigurator

Public Constructors

public DefaultOSWorkflowConfigurator ()

Public Methods

public void registerTypeResolver (String className, TypeResolver typeResolver)

Registers a TypeResolver for the given class. The last registered resolver against the class name will take effect.

Parameters
className the class name.
typeResolver the resolver to register; should not be null.

public void start ()

This method wil be called after the plugin system is fully initialised and all components added to the dependency injection framework.

Throws
Exception

public void unregisterTypeResolver (String className, TypeResolver typeResolver)

Unregisters a TypeResolver from the given class. This class will no longer be mapped to any resolvers.

Parameters
className the class name.
typeResolver the resolver to unregister; should not be null.