public class GeneralNativeCommandModule extends AbstractFileDependentModule
| Modifier and Type | Class and Description |
|---|---|
class |
GeneralNativeCommandModule.LogOutNative |
static class |
GeneralNativeCommandModule.NativeExecutionException |
| Modifier and Type | Field and Description |
|---|---|
(package private) java.lang.String |
description |
(package private) java.lang.String |
origDesc |
config, moduleName, version| Constructor and Description |
|---|
GeneralNativeCommandModule() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canRunNativeCommand() |
ExtractionResult |
extractInformation(java.nio.file.Path path) |
protected KeyValueResult |
extractNative(java.lang.String command,
java.lang.String options,
java.nio.file.Path path) |
GeneralExecutableModuleConfig |
getConfig() |
java.lang.String |
getCurrentOsCommand() |
java.lang.String |
getModuleDescription() |
static void |
main(java.lang.String[] args) |
void |
setModuleName()
By implementing this abstract method the name of the module is specified.
|
void |
setVersion() |
extractFileDependentInformationgetHash, isSelected, setConfig, setSelected, supportsThisOS, toStringpublic void setModuleName()
AbstractModulesetModuleName in class AbstractModulepublic ExtractionResult extractInformation(java.nio.file.Path path)
extractInformation in class AbstractFileDependentModuleprotected boolean canRunNativeCommand()
protected KeyValueResult extractNative(java.lang.String command, java.lang.String options, java.nio.file.Path path) throws GeneralNativeCommandModule.NativeExecutionException
public void setVersion()
setVersion in class AbstractModulepublic java.lang.String getCurrentOsCommand()
public java.lang.String getModuleDescription()
getModuleDescription in class AbstractModulepublic GeneralExecutableModuleConfig getConfig()
getConfig in class AbstractModulepublic static void main(java.lang.String[] args)