Class OpenOfficeConfigurationVelocityBridge
- java.lang.Object
-
- org.xwiki.officeimporter.openoffice.OpenOfficeConfigurationVelocityBridge
-
@Deprecated public class OpenOfficeConfigurationVelocityBridge extends Object
Deprecated.since 4.1M1 use theScriptService
with hint "officemanager" instead; the office manager script service has a method to retrieve the configuration,OfficeServerScriptService.getConfig()
A link betweenOpenOfficeConfiguration
and velocity scripts.- Since:
- 1.9RC1
- Version:
- $Id: 40925ebc3c7876bda703dc32c30e171b67f82550 $
-
-
Constructor Summary
Constructors Constructor Description OpenOfficeConfigurationVelocityBridge(OpenOfficeConfiguration ooConfig)
Deprecated.Creates a newOpenOfficeConfigurationVelocityBridge
instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description String
getHomePath()
Deprecated.int
getMaxTasksPerProcess()
Deprecated.String
getProfilePath()
Deprecated.int
getServerPort()
Deprecated.int
getServerType()
Deprecated.long
getTaskExecutionTimeout()
Deprecated.boolean
isAutoStart()
Deprecated.
-
-
-
Constructor Detail
-
OpenOfficeConfigurationVelocityBridge
public OpenOfficeConfigurationVelocityBridge(OpenOfficeConfiguration ooConfig)
Deprecated.Creates a newOpenOfficeConfigurationVelocityBridge
instance.- Parameters:
ooConfig
- theOpenOfficeConfiguration
component.
-
-
Method Detail
-
getServerType
public int getServerType()
Deprecated.- Returns:
- type of the openoffice server used by officeimporter.
- See Also:
OpenOfficeConfiguration.getServerType()
-
getServerPort
public int getServerPort()
Deprecated.- Returns:
- port number used for connecting to the openoffice server instance.
- See Also:
OpenOfficeConfiguration.getServerPort()
-
isAutoStart
public boolean isAutoStart()
Deprecated.- Returns:
- whether office server should be started / connected automatically with XWiki Enterprise
-
getHomePath
public String getHomePath()
Deprecated.- Returns:
- path to openoffice server installation.
- See Also:
OpenOfficeConfiguration.getHomePath()
-
getProfilePath
public String getProfilePath()
Deprecated.- Returns:
- path to openoffice execution profile.
- See Also:
OpenOfficeConfiguration.getProfilePath()
-
getMaxTasksPerProcess
public int getMaxTasksPerProcess()
Deprecated.- Returns:
- maximum number of simultaneous conversion tasks to be handled by a single oo process instance.
- See Also:
OpenOfficeConfiguration.getMaxTasksPerProcess()
-
getTaskExecutionTimeout
public long getTaskExecutionTimeout()
Deprecated.- Returns:
- timeout for document conversion tasks.
- See Also:
OpenOfficeConfiguration.getTaskExecutionTimeout()
-
-