@Component @Named(value="officemanager") @Singleton public class OfficeServerScriptService extends Object implements org.xwiki.script.service.ScriptService
Modifier and Type | Field and Description |
---|---|
static String |
OFFICE_MANAGER_ERROR
The key used to place any error messages while trying to control the office server instance.
|
Constructor and Description |
---|
OfficeServerScriptService() |
Modifier and Type | Method and Description |
---|---|
OfficeServerConfiguration |
getConfig() |
String |
getLastErrorMessage() |
String |
getServerState() |
boolean |
startServer()
Tries to start the office server process.
|
boolean |
stopServer()
Tries to stop the office server process.
|
public static final String OFFICE_MANAGER_ERROR
public boolean startServer()
public boolean stopServer()
public String getServerState()
public OfficeServerConfiguration getConfig()
public String getLastErrorMessage()
Copyright © 2004–2017 XWiki. All rights reserved.