/**
*============================================================================
*  Copyright The Ohio State University Research Foundation, The University of Chicago - 
*	Argonne National Laboratory, Emory University, SemanticBits LLC, and 
*	Ekagra Software Technologies Ltd.
*
*  Distributed under the OSI-approved BSD 3-Clause License.
*  See http://ncip.github.com/cagrid-core/LICENSE.txt for details.
*============================================================================
**/
package org.cagrid.workflow.helper.tests.system.steps;

import gov.nih.nci.cagrid.testing.system.haste.Step;

import org.cagrid.workflow.helper.descriptor.InputParameter;
import org.cagrid.workflow.helper.invocation.client.WorkflowInvocationHelperClient;

public class SetWorkflowHelperInstanceParametersStep extends Step {


	private WorkflowInvocationHelperClient stageClient = null;
	private InputParameter[] stageInputs = null;


	public SetWorkflowHelperInstanceParametersStep(
			WorkflowInvocationHelperClient stageClient,
			InputParameter[] stageInputs) {
		super();
		this.stageClient = stageClient;
		this.stageInputs = stageInputs;
	}




	public void runStep() throws Throwable {

		System.out.println("BEGIN SetWorkflowHelperInstanceParametersStep");
		getStageClient().setParameters(getStageInputs());
		System.out.println("END SetWorkflowHelperInstanceParametersStep");
	}




	public WorkflowInvocationHelperClient getStageClient() {
		return stageClient;
	}




	public void setStageClient(WorkflowInvocationHelperClient stageClient) {
		this.stageClient = stageClient;
	}




	public InputParameter[] getStageInputs() {
		return stageInputs;
	}




	public void setStageInputs(InputParameter[] stageInputs) {
		this.stageInputs = stageInputs;
	}




}

@@ -1,11 +1,12 @@
 /**
+%0D
 %0A*======
@@ -75,16 +75,17 @@
 ========
+%0D
 %0A*  Copy
@@ -89,16 +89,26 @@
 opyright
+ (c) 2008,
  The Ohi
@@ -147,19 +147,26 @@
 dation, 
-The
+Emory %0D%0A* 
  Univers
@@ -172,132 +172,66 @@
 sity
- of Chicago - %0A*%09Argonne National Laboratory, Emory University, SemanticBits LLC, and %0A*%09Ekagra Software Technologies Ltd.
+, the University of Minnesota Supercomputing Institute%0D
 %0A*
+%0D
 %0A*  
@@ -286,16 +286,17 @@
 License.
+%0D
 %0A*  See 
@@ -354,16 +354,17 @@
 details.
+%0D
 %0A*======
@@ -437,12 +437,14 @@
 ====
+%0D
 %0A**/
+%0D
 %0Apac

Update SetWorkflowHelperInstanceParametersStep.java