public class StepPluginAdapter extends java.lang.Object implements StepExecutor, Describable, DynamicProperties
Modifier and Type | Class and Description |
---|---|
static class |
StepPluginAdapter.Convert |
Modifier and Type | Field and Description |
---|---|
static StepPluginAdapter.Convert |
CONVERTER |
Constructor and Description |
---|
StepPluginAdapter(StepPlugin plugin) |
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,java.lang.Object> |
createConfig(StepExecutionContext executionContext,
StepExecutionItem item) |
java.util.Map<java.lang.String,java.lang.Object> |
dynamicProperties(java.util.Map<java.lang.String,java.lang.Object> projectAndFrameworkValues,
Services services)
Return dynamic allowed values for config properties, keyed by property name
|
StepExecutionResult |
executeWorkflowStep(StepExecutionContext executionContext,
StepExecutionItem item) |
Description |
getDescription() |
StepPlugin |
getPlugin() |
boolean |
isNodeDispatchStep(StepExecutionItem item) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
dynamicProperties
public static final StepPluginAdapter.Convert CONVERTER
public StepPluginAdapter(StepPlugin plugin)
public java.util.Map<java.lang.String,java.lang.Object> dynamicProperties(java.util.Map<java.lang.String,java.lang.Object> projectAndFrameworkValues, Services services)
DynamicProperties
dynamicProperties
in interface DynamicProperties
projectAndFrameworkValues
- config values for this plugin resolved from the framework/projectservices
- authorized services accesspublic Description getDescription()
getDescription
in interface Describable
public boolean isNodeDispatchStep(StepExecutionItem item)
isNodeDispatchStep
in interface StepExecutor
public StepExecutionResult executeWorkflowStep(StepExecutionContext executionContext, StepExecutionItem item) throws StepException
executeWorkflowStep
in interface StepExecutor
StepException
public java.util.Map<java.lang.String,java.lang.Object> createConfig(StepExecutionContext executionContext, StepExecutionItem item)
public StepPlugin getPlugin()