Re: [appengine-java] Passing parameters in a Task

2010-02-25 Thread Ikai L (Google)
That's because this is implementing the Builder pattern: http://en.wikipedia.org/wiki/Builder_pattern Try this instead: TaskOptions.Builder.param("start", "0").param("end", 15); Each builder method returns an instance of the latest Builder object, co

[appengine-java] Passing parameters in a Task

2010-02-25 Thread oceandrive
I wanted to use Queue tasks on my GAE application. I need to pass two parameters to my URL servlet /runTasks. So i am doing this. But when I print the values for start and end, it prints null for start and 15 for end. Am i doing anything wrong? Is this the right way to pass the parameters? TaskOpt