get ValidatorState

Project: 
http://git-wip-us.apache.org/repos/asf/incubator-taverna-plugin-component/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/incubator-taverna-plugin-component/commit/2d67e834
Tree: 
http://git-wip-us.apache.org/repos/asf/incubator-taverna-plugin-component/tree/2d67e834
Diff: 
http://git-wip-us.apache.org/repos/asf/incubator-taverna-plugin-component/diff/2d67e834

Branch: refs/heads/master
Commit: 2d67e834c30334b7796eb05fc0ccee4515e27a13
Parents: 77e3eb4
Author: Stian Soiland-Reyes <[email protected]>
Authored: Mon Feb 22 13:40:15 2016 +0000
Committer: Stian Soiland-Reyes <[email protected]>
Committed: Mon Feb 22 13:40:15 2016 +0000

----------------------------------------------------------------------
 .../component/activity/ComponentActivityConfigurationBean.java     | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-taverna-plugin-component/blob/2d67e834/taverna-component-activity/src/main/java/org/apache/taverna/component/activity/ComponentActivityConfigurationBean.java
----------------------------------------------------------------------
diff --git 
a/taverna-component-activity/src/main/java/org/apache/taverna/component/activity/ComponentActivityConfigurationBean.java
 
b/taverna-component-activity/src/main/java/org/apache/taverna/component/activity/ComponentActivityConfigurationBean.java
index 6effc32..0449e10 100644
--- 
a/taverna-component-activity/src/main/java/org/apache/taverna/component/activity/ComponentActivityConfigurationBean.java
+++ 
b/taverna-component-activity/src/main/java/org/apache/taverna/component/activity/ComponentActivityConfigurationBean.java
@@ -97,6 +97,8 @@ public class ComponentActivityConfigurationBean extends
 
                for (InputWorkflowPort iwp : 
w.getMainWorkflow().getInputPorts())
                        inputs.add(makeInputDefinition(iwp));
+               // FIXME: Get the ValidatorState (so we can get 
getPortResolvedDepth()
+               ValidatorState vs =  ... ;
                for (OutputWorkflowPort owp : 
w.getMainWorkflow().getOutputPorts())
                        
outputs.add(makeOutputDefinition(vs.getPortResolvedDepth(owp), owp.getName()));
 

Reply via email to