Interface ICoreAction<T>

  • Type Parameters:
    T - the result type of the action execution.
    All Superinterfaces:
    java.util.concurrent.Callable<T>
    All Known Implementing Classes:
    CoreAction, CustomJavaAction, com.mendix.core.actionmanagement.internal.InternalCoreAction, LoginAction, UserAction

    public interface ICoreAction<T>
    extends java.util.concurrent.Callable<T>
    An action that can be executed within an IContext. It can be executed and scheduled using various methods of Core. Doing so instead of calling it directly has multiple benefits, in particular registered action listeners are executed.

    Some behaviour of action execution, like using the action stack, is only implemented in CoreAction. This interface should therefore not be implemented directly. Its purpose is to reduce dependencies during testing.

    • Method Detail

      • setContext

        void setContext​(IContext context)
      • call

        T call()
        Specified by:
        call in interface java.util.concurrent.Callable<T>
      • getActionName

        java.lang.String getActionName()
      • getMetaInfo

        com.mendix.thirdparty.org.json.JSONObject getMetaInfo()
      • getEventObjects

        java.util.List<IMendixObject> getEventObjects()