public class BasicCommandTaskInfo extends BasicTaskInfo implements CommandTaskInfo
CommandTaskInfo.ConfigurationResolverTaskInfo.PhaseElement.Attribute| Constructor and Description |
|---|
BasicCommandTaskInfo(String moduleName,
String profileName,
String command,
List<CommandToken> arguments)
Creates a new instance.
|
BasicCommandTaskInfo(String moduleName,
String profileName,
String command,
List<CommandToken> arguments,
CommandTaskInfo.ConfigurationResolver resolver)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
List<CommandToken> |
getArguments()
Returns the raw command arguments.
|
List<CommandToken> |
getArguments(Map<String,String> extraConfigurations)
Returns the command arguments.
|
String |
getCommand()
Returns the command location.
|
String |
getModuleName()
Returns the task module name.
|
String |
getProfileName()
Returns the target profile name.
|
String |
toString() |
addBlocker, getBlockers, setBlockersaddAttribute, getAttributes, setAttributesclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetBlockersfindAttribute, getAttributespublic BasicCommandTaskInfo(String moduleName, String profileName, String command, List<CommandToken> arguments)
moduleName - the module nameprofileName - the profile namecommand - the command patharguments - the command argumentspublic BasicCommandTaskInfo(String moduleName, String profileName, String command, List<CommandToken> arguments, CommandTaskInfo.ConfigurationResolver resolver)
moduleName - the module nameprofileName - the profile namecommand - the command patharguments - the command argumentsresolver - resolves extra configurations (nullable)public String getModuleName()
TaskInfogetModuleName in interface CommandTaskInfogetModuleName in interface TaskInfopublic String getProfileName()
CommandTaskInfogetProfileName in interface CommandTaskInfopublic String getCommand()
CommandTaskInfogetCommand in interface CommandTaskInfoASAKUSA_HOME)public List<CommandToken> getArguments()
CommandTaskInfogetArguments in interface CommandTaskInfopublic List<CommandToken> getArguments(Map<String,String> extraConfigurations)
CommandTaskInfogetArguments in interface CommandTaskInfoextraConfigurations - the extra configurations (treated as Hadoop configurations)Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.