public interface IProcedure extends IPlugin
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PLAN_INTEGRATIONWS_URL_PARAMNAME
Standard name for URL to Plan's Integration Webservice.
|
static java.lang.String |
PLAN_PROCEDUREKEY_PARAMNAME
Standard name for a Plan procedure key parameter.
|
Modifier and Type | Method and Description |
---|---|
ProcedureResult |
execute(IExecutionContext context,
java.util.Map parameters)
Procedure's execute method.
|
destroy, getDescription, getDisplayName, getName, getVersion, initialize
static final java.lang.String PLAN_INTEGRATIONWS_URL_PARAMNAME
static final java.lang.String PLAN_PROCEDUREKEY_PARAMNAME
ProcedureResult execute(IExecutionContext context, java.util.Map parameters) throws ProcedureExecutionException
If called from a webservice, it's the caller's responsibility to convert NameValue parameters to their non-sequence map form, i.e.,
StringNameValue("foo", 1, "value1"), StringNameValue("foo", 2, "value2") ==> one map entry: entry.key = "foo" entry.value = String[]{"value1", "value2"}
This work is done automatically by the ProcedureManager.
context
- caller's execution contextparameters
- a map of procedure parameters.ProcedureExecutionException