class Daemon extends TextBuiltin
| Modifier and Type | Class and Description |
|---|---|
(package private) static class |
Daemon.KetchServerType |
TextBuiltin.TerminatedByHelpException| Modifier and Type | Field and Description |
|---|---|
(package private) java.util.List<java.lang.String> |
canOverride |
(package private) java.io.File |
configFile |
(package private) java.util.List<java.io.File> |
directory |
(package private) java.util.List<java.lang.String> |
disable |
(package private) java.util.List<java.lang.String> |
enable |
(package private) boolean |
exportAll |
(package private) java.util.List<java.lang.String> |
forbidOverride |
(package private) java.lang.String |
host |
(package private) Daemon.KetchServerType |
ketchServerType |
(package private) int |
port |
(package private) int |
timeout |
| Constructor and Description |
|---|
Daemon() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
requiresRepository()
If this command requires a repository.
|
protected void |
run()
Perform the actions of this command.
|
private static DaemonService |
service(Daemon d,
java.lang.String n) |
private void |
startKetchLeader(Daemon daemon) |
abbreviateRef, containsHelp, die, die, die, die, execute, getErrorWriter, getOutputWriter, getRepository, getResourceBundle, init, initRaw, parseArguments, printUsage, printUsageAndExit, printUsageAndExit, resolve, setCommandNamejava.io.File configFile
int port
java.lang.String host
int timeout
java.util.List<java.lang.String> enable
java.util.List<java.lang.String> disable
java.util.List<java.lang.String> canOverride
java.util.List<java.lang.String> forbidOverride
boolean exportAll
Daemon.KetchServerType ketchServerType
java.util.List<java.io.File> directory
protected boolean requiresRepository()
requiresRepository in class TextBuiltinTextBuiltin.db/TextBuiltin.getRepository() is requiredprotected void run()
throws java.lang.Exception
This method should only be invoked by TextBuiltin.execute(String[]).
run in class TextBuiltinjava.lang.Exception - an error occurred while processing the command. The main
framework will catch the exception and print a message on
standard error.private static DaemonService service(Daemon d, java.lang.String n)
private void startKetchLeader(Daemon daemon)