View Javadoc

1   /*
2    *  soapUI, copyright (C) 2004-2010 eviware.com 
3    *
4    *  soapUI is free software; you can redistribute it and/or modify it under the 
5    *  terms of version 2.1 of the GNU Lesser General Public License as published by 
6    *  the Free Software Foundation.
7    *
8    *  soapUI is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without 
9    *  even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 
10   *  See the GNU Lesser General Public License for more details at gnu.org.
11   */
12  
13  package com.eviware.soapui.impl.wsdl.teststeps;
14  
15  import com.eviware.soapui.support.types.StringList;
16  
17  public class ManualTestStepResult extends WsdlTestStepResult
18  {
19  	private StringList urls = new StringList();
20  	private String result;
21  
22  	public ManualTestStepResult( ManualTestStep testStep )
23  	{
24  		super( testStep );
25  	}
26  
27  	protected StringList getUrls()
28  	{
29  		return urls;
30  	}
31  
32  	protected void setUrls( Object[] urls )
33  	{
34  		this.urls.clear();
35  		for( Object o : urls )
36  		{
37  			this.urls.add( String.valueOf( o ) );
38  			addMessage( "URL: " + String.valueOf( o ) );
39  		}
40  	}
41  
42  	protected String getResult()
43  	{
44  		return result;
45  	}
46  
47  	protected void setResult( String result )
48  	{
49  		this.result = result;
50  		super.addMessage( result );
51  	}
52  }