Package org.nuxeo.launcher.connect
Class StandaloneCallbackHolder
- java.lang.Object
-
- org.nuxeo.launcher.connect.StandaloneCallbackHolder
-
- All Implemented Interfaces:
org.nuxeo.connect.CallbackHolder
public class StandaloneCallbackHolder extends Object implements org.nuxeo.connect.CallbackHolder
-
-
Field Summary
Fields Modifier and Type Field Description protected Environment
env
protected org.nuxeo.connect.update.PackageUpdateService
pus
protected boolean
testMode
-
Constructor Summary
Constructors Constructor Description StandaloneCallbackHolder(Environment env)
StandaloneCallbackHolder(Environment env, StandaloneUpdateService pus)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getHomePath()
String
getProperty(String key, String defaultValue)
org.nuxeo.connect.update.PackageUpdateService
getUpdateService()
boolean
isTestModeSet()
void
setTestMode(boolean testMode)
-
-
-
Field Detail
-
pus
protected org.nuxeo.connect.update.PackageUpdateService pus
-
env
protected Environment env
-
testMode
protected boolean testMode
-
-
Constructor Detail
-
StandaloneCallbackHolder
public StandaloneCallbackHolder(Environment env) throws IOException, org.nuxeo.connect.update.PackageException
- Throws:
IOException
org.nuxeo.connect.update.PackageException
-
StandaloneCallbackHolder
public StandaloneCallbackHolder(Environment env, StandaloneUpdateService pus)
-
-
Method Detail
-
getUpdateService
public org.nuxeo.connect.update.PackageUpdateService getUpdateService()
- Specified by:
getUpdateService
in interfaceorg.nuxeo.connect.CallbackHolder
-
isTestModeSet
public boolean isTestModeSet()
- Specified by:
isTestModeSet
in interfaceorg.nuxeo.connect.CallbackHolder
-
setTestMode
public void setTestMode(boolean testMode)
-
getProperty
public String getProperty(String key, String defaultValue)
- Specified by:
getProperty
in interfaceorg.nuxeo.connect.CallbackHolder
-
getHomePath
public String getHomePath()
- Specified by:
getHomePath
in interfaceorg.nuxeo.connect.CallbackHolder
-
-