org.embl.ebi.escience.scufl.Processor.getOutputPorts()方法的使用及代码示例

x33g5p2x  于2022-01-26 转载在 其他  
字(4.1k)|赞(0)|评价(0)|浏览(141)

本文整理了Java中org.embl.ebi.escience.scufl.Processor.getOutputPorts()方法的一些代码示例,展示了Processor.getOutputPorts()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Processor.getOutputPorts()方法的具体详情如下:
包路径:org.embl.ebi.escience.scufl.Processor
类名称:Processor
方法名:getOutputPorts

Processor.getOutputPorts介绍

暂无

代码示例

代码示例来源:origin: uk.org.mygrid.taverna.scufl.scufl-ui-components/scufl-interactive-diagram

ports = processor.getOutputPorts();
if (ports.length > 0) {
  linkMenu

代码示例来源:origin: uk.org.mygrid.taverna.scufl/scufl-ui

if ((startPort instanceof InputPort && processor.getOutputPorts().length > 0)
    || processor.getInputPorts().length > 0)

代码示例来源:origin: org.biomoby/taverna-biomoby

Map outputMap = new HashMap();
OutputPort myOutput = proc.getOutputPorts()[0];
String outputType = myOutput.getSyntacticType();

代码示例来源:origin: uk.org.mygrid.taverna.scufl/scufl-ui

OutputPort[] originalPorts = ap.getOriginalProcessor().getOutputPorts();
for (int i = 0; i < originalPorts.length; i++) {
  JMenuItem item = new JMenuItem(originalPorts[i].getName(), TavernaIcons.outputPortIcon);

代码示例来源:origin: net.sf.taverna.t2/rshell-activity-translator

private void populatePortSymanticTypeDetails(Processor processor,
    RshellActivityConfigurationBean bean) throws ActivityTranslationException {
  List<RShellPortSymanticTypeBean> inputDefinitions = new ArrayList<RShellPortSymanticTypeBean>();
  List<RShellPortSymanticTypeBean> outputDefinitions = new ArrayList<RShellPortSymanticTypeBean>();
  for (InputPort inputPort : processor.getInputPorts()) {
    RShellPortSymanticTypeBean symanticTypeBean = new RShellPortSymanticTypeBean();
    symanticTypeBean.setName(inputPort.getName());
    symanticTypeBean.setSymanticType(getSymanticType(inputPort));
    inputDefinitions.add(symanticTypeBean);
  }
  for (OutputPort outPort : processor.getOutputPorts()) {
    RShellPortSymanticTypeBean symanticTypeBean = new RShellPortSymanticTypeBean();
    symanticTypeBean.setName(outPort.getName());
    symanticTypeBean.setSymanticType(getSymanticType(outPort));
    outputDefinitions.add(symanticTypeBean);
  }
  bean.setInputSymanticTypes(inputDefinitions);
  bean.setOutputSymanticTypes(outputDefinitions);
}

代码示例来源:origin: net.sf.taverna.t2.translators/rshell-activity-translator

private void populatePortSymanticTypeDetails(Processor processor,
    RshellActivityConfigurationBean bean) throws ActivityTranslationException {
  List<RShellPortSymanticTypeBean> inputDefinitions = new ArrayList<RShellPortSymanticTypeBean>();
  List<RShellPortSymanticTypeBean> outputDefinitions = new ArrayList<RShellPortSymanticTypeBean>();
  for (InputPort inputPort : processor.getInputPorts()) {
    RShellPortSymanticTypeBean symanticTypeBean = new RShellPortSymanticTypeBean();
    symanticTypeBean.setName(inputPort.getName());
    symanticTypeBean.setSymanticType(getSymanticType(inputPort));
    inputDefinitions.add(symanticTypeBean);
  }
  for (OutputPort outPort : processor.getOutputPorts()) {
    RShellPortSymanticTypeBean symanticTypeBean = new RShellPortSymanticTypeBean();
    symanticTypeBean.setName(outPort.getName());
    symanticTypeBean.setSymanticType(getSymanticType(outPort));
    outputDefinitions.add(symanticTypeBean);
  }
  bean.setInputSymanticTypes(inputDefinitions);
  bean.setOutputSymanticTypes(outputDefinitions);
}

代码示例来源:origin: uk.org.mygrid.taverna.scufl/scufl-ui

if (startPort instanceof InputPort)
  ports = processor.getOutputPorts();

代码示例来源:origin: net.sf.taverna.t2/cyclone-api

for (OutputPort outPort : processor.getOutputPorts()) {
  ActivityOutputPortDefinitionBean bean = new ActivityOutputPortDefinitionBean();
  bean.setName(outPort.getName());

代码示例来源:origin: uk.org.mygrid.taverna/taverna-scavenger-ui

m.addDataConstraint(new DataConstraint(m, port, ip[i]));
OutputPort[] op = p.getOutputPorts();
for (int i = 0; i < op.length; i++) {
  String portName = op[i].getName();

代码示例来源:origin: net.sf.taverna.t2/compatibility-impl

DataConstraint constraint = new DataConstraint(
      scuflModel, stringConstantProcessor
          .getOutputPorts()[0], t1InputPort);
  scuflModel.addDataConstraint(constraint);
} catch (ProcessorCreationException e) {

代码示例来源:origin: net.sf.taverna.t2/cyclone-impl

DataConstraint constraint = new DataConstraint(
      scuflModel, stringConstantProcessor
          .getOutputPorts()[0], t1InputPort);
  scuflModel.addDataConstraint(constraint);
} catch (ProcessorCreationException e) {

相关文章