Package com.mendix.m2ee.api
Class AdminAction
java.lang.Object
com.mendix.m2ee.api.AdminAction
Deprecated.
since 10.18. This class will be removed in Mendix 11. There is no replacement.
This class is meant for internal use only.
Represents an admin action to be executed by the runtime. The subclass should be immutable.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
AdminAction
Deprecated.Create a new AdminAction.- Parameters:
name
- the name of the AdminAction.
-
-
Method Details
-
execute
public abstract com.mendix.thirdparty.org.json.JSONObject execute(com.mendix.thirdparty.org.json.JSONObject params) throws AdminException, com.mendix.thirdparty.org.json.JSONException Deprecated.Execute this AdminAction.- Parameters:
params
- the parameters for executing this AdminAction.- Returns:
- the result of executing this AdminAction.
- Throws:
AdminException
- when exeution of the action failed.com.mendix.thirdparty.org.json.JSONException
- when the parameters could not be parsed.
-
getName
Deprecated.Get the name of this AdminAction.- Returns:
- the name of this AdminAction.
-