[ http://issues.apache.org/jira/browse/GSHELL-2?page=all ]
Jason Dillon closed GSHELL-2:
-----------------------------
Resolution: Fixed
Commands now use more flexible Object execute(Object[]) syntax.
> Switch to Object execute(Object...)
> -----------------------------------
>
> Key: GSHELL-2
> URL: http://issues.apache.org/jira/browse/GSHELL-2
> Project: GShell (Sandbox)
> Type: Improvement
> Security: public(Regular issues)
> Components: Core, API
> Versions: 0.0.1
> Reporter: Jason Dillon
> Assignee: Jason Dillon
> Priority: Critical
>
> Currently, commands use this sig:
> {code:java}
> int execute(String[] args) throws Exception;
> {code}
> To make GShell more functional, the sig should take Objects and return an
> object. This will allow commands to return state object that can be assigned
> to variables, and then re-referenced later by other commands.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira