Modifier and Type | Method and Description |
---|---|
Command |
createCommand(String commandName,
String[] args,
int startingIndex,
GlobalOptions gopt,
String workingDir)
Create a CVS command.
|
CommandProvider |
getCommandProvider(String name)
Get the provider of a command.
|
CommandProvider[] |
getCommandProviders()
Get the array of all command providers.
|
static CommandFactory |
getDefault()
Get the default instance of CommandFactory.
|
public static CommandFactory getDefault()
public Command createCommand(String commandName, String[] args, int startingIndex, GlobalOptions gopt, String workingDir) throws IllegalArgumentException
commandName
- The name of the command to createargs
- The array of argumentsstartingIndex
- The index of the first argument of the command in the arrayworkingDir
- The working directoryIllegalArgumentException
public CommandProvider getCommandProvider(String name)
name
- The name of the command to get the provider for.public CommandProvider[] getCommandProviders()
Copyright © 2016. All rights reserved.