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