public interface DaemonContribution
Defines an API definition that gives control of a daemon that belongs to a URCap.
Modifier and Type | Interface and Description |
---|---|
static class |
DaemonContribution.State
The run state of the daemon
|
Modifier and Type | Method and Description |
---|---|
DaemonContribution.State |
getState() |
void |
installResource(URL url)
This method installs the resource folder/file specified by an
url . |
void |
start()
Starts the daemon.
|
void |
stop()
Stops the daemon.
|
void installResource(URL url)
url
.url
- - Path as a URL to the resource folder/file containing the daemon/daemon folder structurevoid start()
void stop()
DaemonContribution.State getState()
Copyright © 2021. All rights reserved.