本文整理汇总了Java中com.mendix.core.Core.execute方法的典型用法代码示例。如果您正苦于以下问题:Java Core.execute方法的具体用法?Java Core.execute怎么用?Java Core.execute使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类com.mendix.core.Core
的用法示例。
在下文中一共展示了Core.execute方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: sendInvite
import com.mendix.core.Core; //导入方法依赖的package包/类
public static void sendInvite(IContext context, java.lang.String _environmentUUID, java.lang.String _environmentPassword, java.lang.String _roleUUID, java.lang.String _inviteeEmailAddress, java.lang.String _inviterEmailAddress)
{
try
{
Map<java.lang.String, Object> params = new HashMap<java.lang.String, Object>();
params.put("EnvironmentUUID", _environmentUUID);
params.put("EnvironmentPassword", _environmentPassword);
params.put("RoleUUID", _roleUUID);
params.put("InviteeEmailAddress", _inviteeEmailAddress);
params.put("InviterEmailAddress", _inviterEmailAddress);
Core.execute(context, "InviteAPI.SendInvite", params);
}
catch (CoreException e)
{
throw new MendixRuntimeException(e);
}
}
示例2: newAccount
import com.mendix.core.Core; //导入方法依赖的package包/类
public static void newAccount(IContext context)
{
try
{
Map<java.lang.String, Object> params = new HashMap<java.lang.String, Object>();
Core.execute(context, "Administration.NewAccount", params);
}
catch (CoreException e)
{
throw new MendixRuntimeException(e);
}
}
示例3: iVK_ToggleAutoRollback
import com.mendix.core.Core; //导入方法依赖的package包/类
public static void iVK_ToggleAutoRollback(IContext context, unittesting.proxies.TestSuite _testSuite)
{
try
{
Map<java.lang.String, Object> params = new HashMap<java.lang.String, Object>();
params.put("TestSuite", _testSuite == null ? null : _testSuite.getMendixObject());
Core.execute(context, "UnitTesting.IVK_ToggleAutoRollback", params);
}
catch (CoreException e)
{
throw new MendixRuntimeException(e);
}
}
示例4: onPMessage
import com.mendix.core.Core; //导入方法依赖的package包/类
public void onPMessage(String pattern, String channel, String message) {
HashMap<String, Object> parameters = new HashMap<String, Object>();
parameters.put("Channel", channel);
parameters.put("Pattern", pattern);
parameters.put("Message", message);
IContext systemContext = Core.createSystemContext();
try {
Core.getLogger("RedisConnector").debug("onMessage: Channel " + channel + " message: " + message);
Core.execute(systemContext, redisconnector.proxies.constants.Constants.getOnReceiveMessageMicroflow(),
parameters);
} catch (CoreException e) {
Core.getLogger("RedisConnector")
.error("Error onPMessage: Channel " + channel + " Pattern " + pattern + " Message: " + message, e);
}
}
示例5: test_SubscribeTwoMosquittoTopics
import com.mendix.core.Core; //导入方法依赖的package包/类
public static void test_SubscribeTwoMosquittoTopics(IContext context)
{
try
{
Map<java.lang.String, Object> params = new HashMap<java.lang.String, Object>();
Core.execute(context, "TestMqttClient.Test_SubscribeTwoMosquittoTopics", params);
}
catch (CoreException e)
{
throw new MendixRuntimeException(e);
}
}
示例6: runMfTearDown
import com.mendix.core.Core; //导入方法依赖的package包/类
private void runMfTearDown(TestSuite testSuite)
{
if (Core.getMicroflowNames().contains(testSuite.getModule() + ".TearDown")) {
try
{
LOG.info("Running TearDown microflow..");
Core.execute(Core.createSystemContext(), testSuite.getModule() + ".TearDown", emptyArguments);
}
catch (Exception e)
{
LOG.error("Severe: exception in unittest TearDown microflow '" + testSuite.getModule() + ".Setup': " +e.getMessage(), e);
throw new RuntimeException(e);
}
}
}
示例7: unitTestOverview
import com.mendix.core.Core; //导入方法依赖的package包/类
public static void unitTestOverview(IContext context)
{
try
{
Map<java.lang.String, Object> params = new HashMap<java.lang.String, Object>();
Core.execute(context, "UnitTesting.UnitTestOverview", params);
}
catch (CoreException e)
{
throw new MendixRuntimeException(e);
}
}
示例8: test_IsAssertionErrorCheck
import com.mendix.core.Core; //导入方法依赖的package包/类
public static boolean test_IsAssertionErrorCheck(IContext context)
{
try
{
Map<java.lang.String, Object> params = new HashMap<java.lang.String, Object>();
return (java.lang.Boolean)Core.execute(context, "UnitTesting.Test_IsAssertionErrorCheck", params);
}
catch (CoreException e)
{
throw new MendixRuntimeException(e);
}
}
示例9: iVK_RemoveTestSuiteAndFindAllTests
import com.mendix.core.Core; //导入方法依赖的package包/类
public static void iVK_RemoveTestSuiteAndFindAllTests(IContext context, unittesting.proxies.TestSuite _testSuite)
{
try
{
Map<java.lang.String, Object> params = new HashMap<java.lang.String, Object>();
params.put("TestSuite", _testSuite == null ? null : _testSuite.getMendixObject());
Core.execute(context, "UnitTesting.IVK_RemoveTestSuiteAndFindAllTests", params);
}
catch (CoreException e)
{
throw new MendixRuntimeException(e);
}
}
示例10: test_IBMSubscribe
import com.mendix.core.Core; //导入方法依赖的package包/类
public static void test_IBMSubscribe(IContext context)
{
try
{
Map<java.lang.String, Object> params = new HashMap<java.lang.String, Object>();
Core.execute(context, "TestMqttClient.Test_IBMSubscribe", params);
}
catch (CoreException e)
{
throw new MendixRuntimeException(e);
}
}
示例11: test_WithoutReturn
import com.mendix.core.Core; //导入方法依赖的package包/类
public static void test_WithoutReturn(IContext context)
{
try
{
Map<java.lang.String, Object> params = new HashMap<java.lang.String, Object>();
Core.execute(context, "UnitTesting.Test_WithoutReturn", params);
}
catch (CoreException e)
{
throw new MendixRuntimeException(e);
}
}
示例12: iVK_RetrieveAppCloudUserAccountData
import com.mendix.core.Core; //导入方法依赖的package包/类
public static void iVK_RetrieveAppCloudUserAccountData(IContext context, administration.proxies.Account _account)
{
try
{
Map<java.lang.String, Object> params = new HashMap<java.lang.String, Object>();
params.put("Account", _account == null ? null : _account.getMendixObject());
Core.execute(context, "Administration.IVK_RetrieveAppCloudUserAccountData", params);
}
catch (CoreException e)
{
throw new MendixRuntimeException(e);
}
}
示例13: showHomePage
import com.mendix.core.Core; //导入方法依赖的package包/类
public static void showHomePage(IContext context)
{
try
{
Map<java.lang.String, Object> params = new HashMap<java.lang.String, Object>();
Core.execute(context, "System.ShowHomePage", params);
}
catch (CoreException e)
{
throw new MendixRuntimeException(e);
}
}
示例14: iVK_FindAllTests
import com.mendix.core.Core; //导入方法依赖的package包/类
public static void iVK_FindAllTests(IContext context)
{
try
{
Map<java.lang.String, Object> params = new HashMap<java.lang.String, Object>();
Core.execute(context, "UnitTesting.IVK_FindAllTests", params);
}
catch (CoreException e)
{
throw new MendixRuntimeException(e);
}
}
示例15: test_TTNSubscribe
import com.mendix.core.Core; //导入方法依赖的package包/类
public static void test_TTNSubscribe(IContext context)
{
try
{
Map<java.lang.String, Object> params = new HashMap<java.lang.String, Object>();
Core.execute(context, "TestMqttClient.Test_TTNSubscribe", params);
}
catch (CoreException e)
{
throw new MendixRuntimeException(e);
}
}