title: Access params in Pentaho from scripted data source?
body: <p>I am currently developing a parameterized report using Pentaho.</p>
  
  <p>Pentaho defines parameters that can be given at the time of generation or inserted by some external source via a Pentaho API.</p>
  
  <p>Now comes the question. I have a scripted data source in groovy and would like to parameterize it a bit. How can I/what's the best way to <em>access</em> the parameters (defined in pentaho) in a scripted data source?</p>
  
  <p>If you use an SQL data source you can directly say ${ParamName} and it replaces the string; however if you use a scripted source this doesn't seem to work. </p>
  
  <p>Any and all comments are more than welcome!</p>
  
  <p>P.S. Sorry for this seemingly trivial question, but we all know how badly documented pentaho is.</p>