Package org.jrd.backend.data.cli
Class Cli
java.lang.Object
org.jrd.backend.data.cli.Cli
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate AgentConfig
private boolean
private boolean
private boolean
private boolean
private Saving
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
private VmInfo
boolean
isGui()
boolean
isHex()
prefilterArgs
(String[] originalArgs) private void
printCompletion
(List<String> filteredArgsLocal) private void
private void
private void
private int
readAgentParams
(String[] originalArgs, List<String> agentArgs, int i) private void
setDefaultAgentConfig
(List<String> args, List<String> agentArgs) boolean
-
Field Details
-
filteredArgs
-
saving
-
isVerbose
private boolean isVerbose -
isHex
private boolean isHex -
isRevert
private boolean isRevert -
isBoot
private boolean isBoot -
currentAgent
-
-
Constructor Details
-
Cli
-
-
Method Details
-
shouldBeVerbose
public boolean shouldBeVerbose() -
isGui
public boolean isGui() -
isHex
public boolean isHex() -
prefilterArgs
-
setDefaultAgentConfig
-
readAgentParams
-
consumeCli
- Throws:
Exception
-
printCompletion
private void printCompletion(List<String> filteredArgsLocal) throws ClassNotFoundException, NoSuchMethodException, InvocationTargetException, InstantiationException, IllegalAccessException -
printConfig
- Throws:
IOException
-
printVersion
private void printVersion() -
printHelp
private void printHelp() -
getVmInfo
-
getFilteredArgs
-
getVmManager
-
getPluginManager
-