public abstract class CheckFileCommand extends CliTool.Command
CliTool.Command.Exit, CliTool.Command.Help
terminal
Constructor and Description |
---|
CheckFileCommand(Terminal terminal) |
Modifier and Type | Method and Description |
---|---|
abstract CliTool.ExitStatus |
doExecute(Settings settings,
Environment env)
abstract method, which should implement the same logic as CliTool.Command.execute(), but is wrapped
|
CliTool.ExitStatus |
execute(Settings settings,
Environment env) |
protected abstract Path[] |
pathsForPermissionsCheck(Settings settings,
Environment env)
Returns the array of paths, that should be checked if the permissions, user or groups have changed
before and after execution of the command
|
public CheckFileCommand(Terminal terminal)
public abstract CliTool.ExitStatus doExecute(Settings settings, Environment env) throws Exception
Exception
protected abstract Path[] pathsForPermissionsCheck(Settings settings, Environment env) throws Exception
Exception
public CliTool.ExitStatus execute(Settings settings, Environment env) throws Exception
execute
in class CliTool.Command
Exception
Copyright © 2009–2016. All rights reserved.