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


Java Activity.getConfiguration方法代码示例

本文整理汇总了Java中net.sf.taverna.t2.workflowmodel.processor.activity.Activity.getConfiguration方法的典型用法代码示例。如果您正苦于以下问题:Java Activity.getConfiguration方法的具体用法?Java Activity.getConfiguration怎么用?Java Activity.getConfiguration使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在net.sf.taverna.t2.workflowmodel.processor.activity.Activity的用法示例。


在下文中一共展示了Activity.getConfiguration方法的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: visit

import net.sf.taverna.t2.workflowmodel.processor.activity.Activity; //导入方法依赖的package包/类
public VisitReport visit(Object o, List<Object> ancestors) {
	Activity activity = (Activity) o;
	MobyParseDatatypeActivityConfigurationBean configuration = null;
	if (activity instanceof MobyParseDatatypeActivity) {
		configuration = (MobyParseDatatypeActivityConfigurationBean) activity.getConfiguration();
	} else if (activity instanceof DisabledActivity) {
		configuration = (MobyParseDatatypeActivityConfigurationBean) ((DisabledActivity) activity).getActivityConfiguration();
	}
	return contactEndpoint(activity, configuration.getRegistryEndpoint());
}
 
开发者ID:apache,项目名称:incubator-taverna-plugin-bioinformatics,代码行数:11,代码来源:MobyParseDatatypeActivityHealthChecker.java

示例2: visit

import net.sf.taverna.t2.workflowmodel.processor.activity.Activity; //导入方法依赖的package包/类
public VisitReport visit(Object o, List<Object> ancestors) {
	Activity activity = (Activity) o;
	BiomobyObjectActivityConfigurationBean configuration = null;
	if (activity instanceof BiomobyObjectActivity) {
		configuration = (BiomobyObjectActivityConfigurationBean) activity.getConfiguration();
	} else if (activity instanceof DisabledActivity) {
		configuration = (BiomobyObjectActivityConfigurationBean) ((DisabledActivity) activity).getActivityConfiguration();
	}
	return contactEndpoint(activity, configuration.getMobyEndpoint());

}
 
开发者ID:apache,项目名称:incubator-taverna-plugin-bioinformatics,代码行数:12,代码来源:BiomobyObjectActivityHealthChecker.java

示例3: visit

import net.sf.taverna.t2.workflowmodel.processor.activity.Activity; //导入方法依赖的package包/类
public VisitReport visit(Object o, List<Object> ancestors) {
	Activity activity = (Activity) o;
	BiomobyActivityConfigurationBean configuration = null;
	if (activity instanceof BiomobyActivity) {
		configuration = (BiomobyActivityConfigurationBean) activity.getConfiguration();
	} else if (activity instanceof DisabledActivity) {
		configuration = (BiomobyActivityConfigurationBean) ((DisabledActivity) activity).getActivityConfiguration();
	}
	return contactEndpoint(activity, configuration.getMobyEndpoint());
}
 
开发者ID:apache,项目名称:incubator-taverna-plugin-bioinformatics,代码行数:11,代码来源:BiomobyActivityHealthChecker.java

示例4: visit

import net.sf.taverna.t2.workflowmodel.processor.activity.Activity; //导入方法依赖的package包/类
public VisitReport visit(Object o, List<Object> ancestors) {
	SoaplabActivityConfigurationBean configuration = null;
	Activity activity = (Activity) o;
	if (activity instanceof SoaplabActivity) {
		configuration = (SoaplabActivityConfigurationBean) activity.getConfiguration();
	} else if (activity instanceof DisabledActivity) {
		configuration = (SoaplabActivityConfigurationBean) ((DisabledActivity) activity).getActivityConfiguration();
	}
	return contactEndpoint(activity, configuration.getEndpoint());
}
 
开发者ID:apache,项目名称:incubator-taverna-plugin-bioinformatics,代码行数:11,代码来源:SoaplabActivityHealthChecker.java


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