- All Superinterfaces:
org.freedesktop.dbus.interfaces.DBusInterface
public interface ManagerInterface
extends org.freedesktop.dbus.interfaces.DBusInterface
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classstatic classstatic classstatic classstatic classstatic classstatic class -
Method Summary
Modifier and TypeMethodDescriptionaddDependencyUnitFiles(List<String> names, String target, String type, boolean runtime, boolean force) voidcancelJob(long id) voidvoiddisableUnitFiles(List<String> names, boolean runtime) dump()enableUnitFiles(List<String> names, boolean runtime, boolean force) voidexit()voidfreezeUnit(String name) org.freedesktop.dbus.DBusPathgetUnitByPID(int pid) getUnitFileLinks(String name, boolean runtime) getUnitFileState(String name) getUnitProcesses(String name) voidhalt()voidkExec()voidlinkUnitFiles(List<String> names, boolean runtime, boolean force) org.freedesktop.dbus.DBusPathlonglookupDynamicUserByUID(long uid) maskUnitFiles(List<String> names, boolean runtime, boolean force) voidpowerOff()presetUnitFiles(List<String> names, boolean runtime, boolean force) presetUnitFilesWithMode(List<String> names, String mode, boolean runtime, boolean force) voidreboot()reenableUnitFiles(List<String> names, boolean runtime, boolean force) voidvoidvoidreload()org.freedesktop.dbus.DBusPathreloadOrRestartUnit(String name, String mode) org.freedesktop.dbus.DBusPathreloadOrTryRestartUnit(String name, String mode) org.freedesktop.dbus.DBusPathreloadUnit(String name, String mode) voidvoidresetFailedUnit(String name) org.freedesktop.dbus.DBusPathrestartUnit(String name, String mode) revertUnitFiles(List<String> names) setDefaultTarget(String name, boolean force) voidsetEnvironment(String name) voidsetExitCode(byte value) org.freedesktop.dbus.DBusPathorg.freedesktop.dbus.DBusPathvoidvoidswitchRoot(String newRoot, String init) voidorg.freedesktop.dbus.DBusPathtryRestartUnit(String name, String mode) unmaskUnitFiles(List<String> names, boolean runtime) voidvoidunsetAndSetEnvironment(List<String> namesToUnset, List<String> namesToSet) voidunsetEnvironment(List<String> names) voidMethods inherited from interface org.freedesktop.dbus.interfaces.DBusInterface
getObjectPath, isRemote
-
Method Details
-
addDependencyUnitFiles
-
cancelJob
void cancelJob(long id) -
cleanUnit
-
clearJobs
void clearJobs() -
disableUnitFiles
-
enableUnitFiles
-
dump
String dump() -
exit
void exit() -
freezeUnit
-
getDefaultTarget
String getDefaultTarget() -
getDynamicUsers
List<DynamicUser> getDynamicUsers() -
getUnitByPID
org.freedesktop.dbus.DBusPath getUnitByPID(int pid) -
getUnitFileLinks
-
getUnitFileState
-
getUnitProcesses
-
halt
void halt() -
kExec
void kExec() -
killUnit
-
linkUnitFiles
-
listUnitFiles
List<UnitFileType> listUnitFiles() -
listUnits
-
loadUnit
-
lookupDynamicUserByName
-
lookupDynamicUserByUID
-
maskUnitFiles
-
powerOff
void powerOff() -
presetUnitFiles
-
presetUnitFilesWithMode
-
reboot
void reboot() -
reenableUnitFiles
-
reexecute
void reexecute() -
refUnit
-
reload
void reload() -
reloadOrRestartUnit
-
reloadOrTryRestartUnit
-
reloadUnit
-
resetFailed
void resetFailed() -
resetFailedUnit
-
restartUnit
-
revertUnitFiles
-
setDefaultTarget
-
setEnvironment
-
setExitCode
void setExitCode(byte value) -
startUnit
-
stopUnit
-
subscribe
void subscribe() -
switchRoot
-
thawUnit
-
tryRestartUnit
-
unmaskUnitFiles
-
unrefUnit
-
unsetAndSetEnvironment
-
unsetEnvironment
-
unsubscribe
void unsubscribe()
-