Modul sharingPluginPlatform
Klasse SharingPluginConfig.Action
java.lang.Object
org.codeability.sharing.plugins.api.SharingPluginConfig.Action
- Umschließende Klasse:
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)
- Autor:
- Michael Breu
-
Feldübersicht
FelderModifizierer und TypFeldBeschreibungthe 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. -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
-
Felddetails
-
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"
-
-
Konstruktordetails
-
Action
public Action(String actionId, String actionTransferURL, String actionName, String filterELExpression) - Parameter:
actionId- the id of the actionactionTransferURL- the transfer url, to which the action should forward the browser toactionName- the name of the actionfilterELExpression- some filter expression in the EL expression language
-
Action
public Action()empty constructor for JSON.
-