com.atlassian.jira.workflow
Interface OSWorkflowConfigurator

All Known Implementing Classes:
DefaultOSWorkflowConfigurator

public interface OSWorkflowConfigurator

Provides a way for JIRA to configure OSWorkflow TypeResolver classes.

Since:
v4.1.1

Method Summary
 void registerTypeResolver(java.lang.String className, com.opensymphony.workflow.TypeResolver typeResolver)
          Registers a TypeResolver for the given class.
 void unregisterTypeResolver(java.lang.String className, com.opensymphony.workflow.TypeResolver typeResolver)
          Unregisters a TypeResolver from the given class.
 

Method Detail

registerTypeResolver

void registerTypeResolver(java.lang.String className,
                          com.opensymphony.workflow.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.

unregisterTypeResolver

void unregisterTypeResolver(java.lang.String className,
                            com.opensymphony.workflow.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.


Copyright © 2002-2010 Atlassian. All Rights Reserved.