Skip to content
Permalink
Browse files

SCUFL2-126 Fixed URI for type of Processor and its config.

  • Loading branch information
stain committed Oct 24, 2013
1 parent 91b8dc6 commit 6c610130b3da127e05b17ceec5a63c8cc36158fd
Showing with 5 additions and 2 deletions.
  1. +5 −2 scufl2-api/src/main/java/uk/org/taverna/scufl2/api/core/Processor.java
@@ -37,11 +37,14 @@
*/
public class Processor extends AbstractNamed implements Child<Workflow>, Ported, Configurable {

private final NamedSet<OutputProcessorPort> outputPorts = new NamedSet<OutputProcessorPort>();
public static final URI PROCESSOR_TYPE = URI.create("http://ns.taverna.org.uk/2010/scufl2#Processor");
public static final URI CONFIG_TYPE = URI.create("http://ns.taverna.org.uk/2010/scufl2#ProcessorConfig");

private final NamedSet<OutputProcessorPort> outputPorts = new NamedSet<OutputProcessorPort>();
private final NamedSet<InputProcessorPort> inputPorts = new NamedSet<InputProcessorPort>();
private IterationStrategyStack iterationStrategyStack = new IterationStrategyStack(this);
private Workflow parent;
private URI type = URI.create("http://ns.taverna.org.uk/2010/scufl2#Processor");
private URI type = PROCESSOR_TYPE;

/**
* Constructs a <code>Processor</code> with a random UUID as the name and no parent

0 comments on commit 6c61013

Please sign in to comment.
You can’t perform that action at this time.