Class ScriptVersionHandlerScriptHandler
- java.lang.Object
-
- org.ametys.runtime.plugin.component.AbstractLogEnabled
-
- org.ametys.plugins.core.ui.script.ScriptHandler
-
- org.ametys.core.migration.handler.impl.ScriptVersionHandlerScriptHandler
-
- All Implemented Interfaces:
LogEnabled
,Component
,Contextualizable
,Serviceable
public class ScriptVersionHandlerScriptHandler extends ScriptHandler
ScriptHandler to manage results sent by automatic migration scripts, to get the object result as the expected object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static class
ScriptVersionHandlerScriptHandler.VersionProcessor
Result processor that return object as itself instead as a string-
Nested classes/interfaces inherited from class org.ametys.plugins.core.ui.script.ScriptHandler
ScriptHandler.ResultProcessor
-
-
Field Summary
Fields Modifier and Type Field Description static String
COMPONENT_ROLE
Specific Avalon role-
Fields inherited from class org.ametys.plugins.core.ui.script.ScriptHandler
_context, _currentUserProvider, _i18nUtils, _rightManager, _scriptBindingEP, RIGHT_EXECUTE_SCRIPTS, ROLE
-
-
Constructor Summary
Constructors Constructor Description ScriptVersionHandlerScriptHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ScriptHandler.ResultProcessor
getProcessor()
Returns theScriptHandler.ResultProcessor
used to process script result.-
Methods inherited from class org.ametys.plugins.core.ui.script.ScriptHandler
_executeScript, buildExecArguments, contextualize, executeScript, executeScript, executeScript, getScriptBindingDescription, getWorkspaceName, processScriptResult, service
-
Methods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger
-
-
-
-
Field Detail
-
COMPONENT_ROLE
public static final String COMPONENT_ROLE
Specific Avalon role
-
-
Constructor Detail
-
ScriptVersionHandlerScriptHandler
public ScriptVersionHandlerScriptHandler()
-
-
Method Detail
-
getProcessor
protected ScriptHandler.ResultProcessor getProcessor()
Description copied from class:ScriptHandler
Returns theScriptHandler.ResultProcessor
used to process script result.- Overrides:
getProcessor
in classScriptHandler
- Returns:
- the
ScriptHandler.ResultProcessor
.
-
-