Class PluginTaskExtensionResolver
java.lang.Object
com.xebialabs.xlrelease.domain.tasks.plugin.PluginTaskExtensionResolver
Finds the plugin extension that implements a given task type.
This is the second half of the dispatch design: ScalaExecutionService dispatches by
compiled class to the single PluginTaskExecutor, and this resolves the rest of the way by
configuration type name. There is no per-type compiled class and no registry of task types - the
declared CI type name is the key, so it cannot drift from what the release author picked.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classThrown when a plugin task's type cannot be matched to exactly one extension. -
Constructor Summary
ConstructorsConstructorDescriptionPluginTaskExtensionResolver(PluginExtensionRegistry pluginExtensionRegistry) -
Method Summary
-
Constructor Details
-
PluginTaskExtensionResolver
-
-
Method Details
-
resolve
- Parameters:
taskType- the configuration type name, e.g."acme.HelloTask"- Throws:
PluginTaskExtensionResolver.PluginTaskExtensionNotResolvableException- if no extension, or more than one, claims it
-