当前位置: 首页>>代码示例>>Java>>正文


Java Core.execute方法代码示例

本文整理汇总了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);
	}
}
 
开发者ID:ako,项目名称:MqttClient,代码行数:18,代码来源:Microflows.java

示例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);
	}
}
 
开发者ID:ako,项目名称:MqttClient,代码行数:13,代码来源:Microflows.java

示例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);
	}
}
 
开发者ID:ako,项目名称:MqttClient,代码行数:14,代码来源:Microflows.java

示例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);
	}
}
 
开发者ID:appronto,项目名称:RedisConnector,代码行数:16,代码来源:MendixRedisPubSub.java

示例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);
	}
}
 
开发者ID:ako,项目名称:MqttClient,代码行数:13,代码来源:Microflows.java

示例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);
		}
	}
}
 
开发者ID:mendix,项目名称:database-connector,代码行数:16,代码来源:TestManager.java

示例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);
	}
}
 
开发者ID:ako,项目名称:MqttClient,代码行数:13,代码来源:Microflows.java

示例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);
	}
}
 
开发者ID:ako,项目名称:MqttClient,代码行数:13,代码来源:Microflows.java

示例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);
	}
}
 
开发者ID:ako,项目名称:MqttClient,代码行数:14,代码来源:Microflows.java

示例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);
	}
}
 
开发者ID:ako,项目名称:MqttClient,代码行数:13,代码来源:Microflows.java

示例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);
	}
}
 
开发者ID:ako,项目名称:MqttClient,代码行数:13,代码来源:Microflows.java

示例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);
	}
}
 
开发者ID:ako,项目名称:MqttClient,代码行数:14,代码来源:Microflows.java

示例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);
	}
}
 
开发者ID:ako,项目名称:MqttClient,代码行数:13,代码来源:Microflows.java

示例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);
	}
}
 
开发者ID:ako,项目名称:MqttClient,代码行数:13,代码来源:Microflows.java

示例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);
	}
}
 
开发者ID:ako,项目名称:MqttClient,代码行数:13,代码来源:Microflows.java


注:本文中的com.mendix.core.Core.execute方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。