Module sharingPluginPlatform
Class SharingPluginConfig.Action
java.lang.Object
org.codeability.sharing.plugins.api.SharingPluginConfig.Action
- Enclosing class:
- SharingPluginConfig
the actions that a plugin supports. It contains a name,
a command name, and
an importService URL (not a REST URL, but a callback via Browser redirect)
- Author:
- Michael Breu
-
Field Summary
FieldsModifier and TypeFieldDescriptionthe id of this action.a descriptive name of the action.the call back for this action (in order to be called back).a boolean expression on the exercise meta data to filter the relevant exercises for this action. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
actionId
the id of this action. An arbitrary String, unique for this plugin. -
actionTransferURL
the call back for this action (in order to be called back). When the action is invoked the call back URL is extended by- the shoppingBasketToken
- the apiBaseURL for a REST based callback as query parameter
- the returnURL a URL that should be redirected to, to get back to the original application, as query parameter
-
actionName
a descriptive name of the action. For presentation to the end user. E.g. "Export to Artemis" -
filterELExpression
a boolean expression on the exercise meta data to filter the relevant exercises for this action. The expression is defined in java expression language (see https://docs.oracle.com/javaee/6/tutorial/doc/gjddd.html). e.g. "metadata.type.externalName=='programming exercise"
-
-
Constructor Details
-
Action
public Action(String actionId, String actionTransferURL, String actionName, String filterELExpression) - Parameters:
actionName- the name of the actionactionTransferURL- the transfer url, to which the action should forward the browser toactionId- the id of the actionfilterELExpression- some filter expression in the EL expression language
-
Action
public Action()empty constructor for JSON.
-