Class AdminAction

  • All Implemented Interfaces:
    java.lang.Cloneable

    public abstract class AdminAction
    extends java.lang.Object
    implements java.lang.Cloneable
    This class is meant for internal use only.

    Represents an admin action to be executed by the runtime. The subclass should be immutable.
    • Constructor Detail

      • AdminAction

        public AdminAction​(java.lang.String name)
      • AdminAction

        public AdminAction​(java.lang.String name,
                           java.lang.String description)
    • Method Detail

      • 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
        Throws:
        AdminException
        com.mendix.thirdparty.org.json.JSONException
      • getName

        public final java.lang.String getName()
      • getDescription

        public final java.lang.String getDescription()
      • clone

        @Deprecated
        public AdminAction clone()
        Deprecated.
        since 9.24. Do not use, there is no alternative.
        Clone this AdminAction.
        Overrides:
        clone in class java.lang.Object