|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.atlassian.jira.workflow.DefaultOSWorkflowConfigurator
public class DefaultOSWorkflowConfigurator
Provides a way for JIRA to configure OSWorkflow to lookup condition, validator, and post-function
classes by setting the TypeResolver
.
Constructor Summary | |
---|---|
DefaultOSWorkflowConfigurator()
|
Method Summary | |
---|---|
void |
registerTypeResolver(String className,
com.opensymphony.workflow.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,
com.opensymphony.workflow.TypeResolver typeResolver)
Unregisters a TypeResolver from the given class. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultOSWorkflowConfigurator()
Method Detail |
---|
public void start() throws Exception
Startable
start
in interface Startable
Exception
- Allows implementations to throw an Exception.public void registerTypeResolver(String className, com.opensymphony.workflow.TypeResolver typeResolver)
OSWorkflowConfigurator
TypeResolver
for the given class. The last registered resolver against the class name will
take effect.
registerTypeResolver
in interface OSWorkflowConfigurator
className
- the class name.typeResolver
- the resolver to register; should not be null.public void unregisterTypeResolver(String className, com.opensymphony.workflow.TypeResolver typeResolver)
OSWorkflowConfigurator
TypeResolver
from the given class. This class will no longer be mapped to any resolvers.
unregisterTypeResolver
in interface OSWorkflowConfigurator
className
- the class name.typeResolver
- the resolver to unregister; should not be null.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |