本文整理了Java中net.sf.taverna.t2.workflowmodel.processor.activity.Activity.configure()
方法的一些代码示例,展示了Activity.configure()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Activity.configure()
方法的具体详情如下:
包路径:net.sf.taverna.t2.workflowmodel.processor.activity.Activity
类名称:Activity
方法名:configure
[英]When the Activity implementation is built from the workflow definition XML the object is first constructed with a default constructor then this method is called, passing in the configuration bean returned by getConfiguration()
[中]当从工作流定义XML构建活动实现时,首先使用默认构造函数构造对象,然后调用此方法,传入getConfiguration()返回的配置bean
代码示例来源:origin: net.sf.taverna.t2/cyclone-api
/**
* <p>
* The entry point for carrying out a translation from a Taverna 1 Processor to a Taverna 2 Activity.<br>
* </p>
*
* @param processor
* @return a translated Activity
* @throws ActivityTranslationException
* @throws ActivityConfigurationException
*/
public Activity<ConfigurationType> doTranslation(Processor processor)
throws ActivityTranslationException,ActivityConfigurationException {
Activity<ConfigurationType> activity = createUnconfiguredActivity();
ConfigurationType configType = createConfigType(processor);
activity.configure(configType);
return activity;
}
代码示例来源:origin: net.sf.taverna.t2/maelstrom-impl
activity.configure(configObject);
return activity;
代码示例来源:origin: net.sf.taverna.t2.core/workflowmodel-impl
activity.configure(configObject);
return activity;
代码示例来源:origin: net.sf.taverna.t2/workflowmodel-impl
activity.configure(configObject);
return activity;
代码示例来源:origin: net.sf.taverna.t2.core/workflowmodel-api
try {
Activity aa = (Activity) (conf.getActivity().getClass().newInstance());
aa.configure(newConfig);
boolean unknownPort = false;
Map<String, String> currentInputPortMap = this
代码示例来源:origin: net.sf.taverna.t2/workflowmodel-impl
configObject = createBean(configElement, cl);
activity.configure(configObject);
代码示例来源:origin: net.sf.taverna.t2.core/workflowmodel-api
lastConfig = disabledActivity.getActivityConfiguration();
ra.configure(lastConfig);
代码示例来源:origin: net.sf.taverna.t2.core/workflowmodel-impl
activity.configure(configObject);
} catch (ActivityConfigurationException e) {
activity = new DisabledActivity(c, configObject);
内容来源于网络,如有侵权,请联系作者删除!