Class CommandTool

  • All Implemented Interfaces:
    AddsToRuleKey, Tool

    public class CommandTool
    extends Object
    implements Tool
    A Tool based on a list of arguments formed by SourcePaths.

    Example:

    
     Tool compiler = new CommandTool.Builder()
        .addArg(compilerPath)
        .addArg("-I%s", defaultIncludeDir)
        .build();