net.sf.taverna.t2.workflowmodel.processor.activity.Activity.configure()方法的使用及代码示例

x33g5p2x  于2022-01-16 转载在 其他  
字(2.2k)|赞(0)|评价(0)|浏览(148)

本文整理了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

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);

相关文章