[ 
https://issues.apache.org/jira/browse/OODT-349?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Brian Foster updated OODT-349:
------------------------------

    Description: 
This will introduce a ActionMessagePrinter which would be passed into that 
CmdLineAction's execute() method changing it's method signature from:
{code}
   public abstract void execute() throws CmdLineActionException;
{code}
to:
{code}
   public abstract void execute(ActionMessagePrinter printer) throws 
CmdLineActionException;
{code}

Actions would now be expected to print to this instead of System.out

  was:
This will introduce a ActionMessagePrinter which would be passed into that 
CmdLineAction's execute() method changing it's method signature from:
{code}
   public abstract void execute() throws CmdLineActionException;
{code}
to:
{code}
   public abstract void execute(ActionMessagePrinter) throws 
CmdLineActionException;
{code}

Actions would now be expected to print to this instead of System.out

    
> CAS-CLI CmdLineAction should take a printer which it is required to print 
> it's messages to
> ------------------------------------------------------------------------------------------
>
>                 Key: OODT-349
>                 URL: https://issues.apache.org/jira/browse/OODT-349
>             Project: OODT
>          Issue Type: Improvement
>          Components: resource manager, workflow manager
>    Affects Versions: 0.3
>         Environment: none
>            Reporter: Brian Foster
>            Assignee: Brian Foster
>            Priority: Critical
>             Fix For: 0.4
>
>
> This will introduce a ActionMessagePrinter which would be passed into that 
> CmdLineAction's execute() method changing it's method signature from:
> {code}
>    public abstract void execute() throws CmdLineActionException;
> {code}
> to:
> {code}
>    public abstract void execute(ActionMessagePrinter printer) throws 
> CmdLineActionException;
> {code}
> Actions would now be expected to print to this instead of System.out

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to