title: How to pass Scenario out line data as a object in step method using cucumber-jvm
body: <p>I am finding a solution to pass each scenario outline example row as object in cucuber-jvm.</p>
  
  <p>So as for example if I consider a scenario </p>
  
  <pre><code>Scenario Outline: example
  Given I have a url 
  When I choose &lt;input_1&gt;
  Then page should hold field1 value as &lt;validation field1&gt; field2 value as &lt;validation field2&gt; fieldn value as &lt;validation fieldn&gt; 
  
  Examples:
  | input_1        |  validation field1 |validation field2|validation field n|
  | input_1_case_1 |  expected value 1  |expected value 1 |expected value n  |
  </code></pre>
  
  <p>So in Step file </p>
  
  <pre><code>public void validationMethod(String validation field2,String validation field2,String validation field3){
  ............
  ............
  } 
  </code></pre>
  
  <p>So if I have more field then my method also consume more argument.</p>
  
  <p>Now I want to pass all validation field as object in method. So is it possible using cucumber jvm? If possible could any one can please provide some suggestion with sample code.</p>