Package org.omegat.cli
Class BaseSubCommand
java.lang.Object
org.omegat.cli.BaseSubCommand
Base class for subcommands.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns true if the subcommand requires a project to be loaded.voidsetArguments(List<String> args) voidsetParameters(Map<String, String> params)
-
Constructor Details
-
BaseSubCommand
public BaseSubCommand()
-
-
Method Details
-
setParameters
-
setArguments
-
isProjectRequired
public boolean isProjectRequired()Returns true if the subcommand requires a project to be loaded.- Returns:
- true if project is required, false otherwise.
-