/**
*============================================================================
*  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.OperationInputMessageDescriptor;
import org.cagrid.workflow.helper.descriptor.OperationOutputTransportDescriptor;
import org.cagrid.workflow.helper.invocation.client.WorkflowInvocationHelperClient;

public class ConfigureWorkflowInOutStep extends Step {

	private OperationInputMessageDescriptor inputConfig = null;
	private OperationOutputTransportDescriptor outputConfig = null;
	private WorkflowInvocationHelperClient service_client = null;



	public ConfigureWorkflowInOutStep(
			OperationInputMessageDescriptor inputConfig,
			OperationOutputTransportDescriptor outputConfig,
			WorkflowInvocationHelperClient service_client) {
		super();
		this.inputConfig = inputConfig;
		this.outputConfig = outputConfig;
		this.service_client = service_client;
	}



	public void runStep() throws Throwable {

		System.out.println("BEGIN ConfigureWorkflowInOutStep");
		service_client.configureInput(inputConfig);
		service_client.configureOutput(outputConfig);
		System.out.println("END ConfigureWorkflowInOutStep");
	}



	private WorkflowInvocationHelperClient getService_client() {
		return service_client;
	}


	private void setService_client(WorkflowInvocationHelperClient service_client) {
		this.service_client = service_client;
	}




	private OperationInputMessageDescriptor getInputConfig() {
		return inputConfig;
	}


	private void setInputConfig(OperationInputMessageDescriptor inputConfig) {
		this.inputConfig = inputConfig;
	}


	private OperationOutputTransportDescriptor getOutputConfig() {
		return outputConfig;
	}


	private void setOutputConfig(OperationOutputTransportDescriptor outputConfig) {
		this.outputConfig = outputConfig;
	}

}

/**
*============================================================================
*  Copyright (c) 2008, The Ohio State University Research Foundation, Emory 
*  University, the University of Minnesota Supercomputing Institute
*
*  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.OperationInputMessageDescriptor;
import org.cagrid.workflow.helper.descriptor.OperationOutputTransportDescriptor;
import org.cagrid.workflow.helper.invocation.client.WorkflowInvocationHelperClient;

public class ConfigureWorkflowInOutStep extends Step {

	private OperationInputMessageDescriptor inputConfig = null;
	private OperationOutputTransportDescriptor outputConfig = null;
	private WorkflowInvocationHelperClient service_client = null;



	public ConfigureWorkflowInOutStep(
			OperationInputMessageDescriptor inputConfig,
			OperationOutputTransportDescriptor outputConfig,
			WorkflowInvocationHelperClient service_client) {
		super();
		this.inputConfig = inputConfig;
		this.outputConfig = outputConfig;
		this.service_client = service_client;
	}



	public void runStep() throws Throwable {

		System.out.println("BEGIN ConfigureWorkflowInOutStep");
		service_client.configureInput(inputConfig);
		service_client.configureOutput(outputConfig);
		System.out.println("END ConfigureWorkflowInOutStep");
	}



	private WorkflowInvocationHelperClient getService_client() {
		return service_client;
	}


	private void setService_client(WorkflowInvocationHelperClient service_client) {
		this.service_client = service_client;
	}




	private OperationInputMessageDescriptor getInputConfig() {
		return inputConfig;
	}


	private void setInputConfig(OperationInputMessageDescriptor inputConfig) {
		this.inputConfig = inputConfig;
	}


	private OperationOutputTransportDescriptor getOutputConfig() {
		return outputConfig;
	}


	private void setOutputConfig(OperationOutputTransportDescriptor outputConfig) {
		this.outputConfig = outputConfig;
	}

}

Update ConfigureWorkflowInOutStep.java