public class MultiTaskInvoker extends Object
ObjectFactory.| Constructor and Description | 
|---|
MultiTaskInvoker(String toolName,
                ObjectFactory<Task> taskFactory)
Constructor. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
String | 
getVersionMessage()
Returns the message to be reported if the "-version" flag is
 given. 
 | 
int | 
invoke(String[] args)
Invokes one of the tasks known by this invoker given a command line. 
 | 
void | 
setVersionMessage(String msg)
Sets the message which will be reported if the "-version" flag is
 given. 
 | 
public MultiTaskInvoker(String toolName, ObjectFactory<Task> taskFactory)
toolName - user-known name for the tooltaskFactory - lists available taskspublic int invoke(String[] args)
    [<flags>] <taskname> [<task-args>]
 args - command line wordspublic void setVersionMessage(String msg)
msg - formatted version messagepublic String getVersionMessage()
Copyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.