it.eng.spagobi.engines.talend
Class TalendEngineConfig

java.lang.Object
  extended by it.eng.spagobi.engines.talend.TalendEngineConfig

public class TalendEngineConfig
extends java.lang.Object

Author:
Andrea Gioia

Field Summary
static java.lang.String DEFAULT_SPAGOBI_SERVER_URL
           
static java.lang.String RUNTIMEREPOSITORY_ROOT_DIR
           
static java.lang.String SPAGOBI_SERVER_URL
           
 
Method Summary
 it.eng.spago.base.SourceBean getConfigSourceBean()
           
 it.eng.spagobi.services.common.EnginConf getEngineConfig()
           
 java.lang.String getEngineResourcePath()
           
static TalendEngineConfig getInstance()
           
 java.lang.String getJavaBinDir()
          Gets the java bin dir.
 java.lang.String getJavaCommand()
          Gets the java command.
 java.lang.String getJavaCommandOption(java.lang.String optionName)
          Gets the java command option.
 java.lang.String getJavaInstallDir()
          Gets the java install dir.
 java.lang.String getJobSeparator()
          Gets the job separator.
 java.lang.String getPerlBinDir()
          Gets the perl bin dir.
 java.lang.String getPerlCommand()
          Gets the perl command.
 java.lang.String getPerlExt()
          Gets the perl ext.
 java.lang.String getPerlInstallDir()
          Gets the perl install dir.
 java.io.File getRuntimeRepositoryRootDir()
          Gets the runtime repository root dir.
 java.lang.String getSpagoBIServerUrl()
           
 java.lang.String getSpagobiTargetFunctionalityLabel()
          Gets the spagobi target functionality label.
 java.lang.String getSpagobiUrl()
          Gets the spagobi url.
 java.lang.String getWordSeparator()
          Gets the word separator.
static boolean isAbsolutePath(java.lang.String path)
          Checks if is absolute path.
 boolean isAutoPublishActive()
          Checks if is auto publish active.
 void setEngineConfig(it.eng.spagobi.services.common.EnginConf engineConfig)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SPAGOBI_SERVER_URL

public static java.lang.String SPAGOBI_SERVER_URL

DEFAULT_SPAGOBI_SERVER_URL

public static java.lang.String DEFAULT_SPAGOBI_SERVER_URL

RUNTIMEREPOSITORY_ROOT_DIR

public static java.lang.String RUNTIMEREPOSITORY_ROOT_DIR
Method Detail

getInstance

public static TalendEngineConfig getInstance()

getConfigSourceBean

public it.eng.spago.base.SourceBean getConfigSourceBean()

isAbsolutePath

public static boolean isAbsolutePath(java.lang.String path)
Checks if is absolute path.

Parameters:
path - the path
Returns:
true, if is absolute path

getRuntimeRepositoryRootDir

public java.io.File getRuntimeRepositoryRootDir()
Gets the runtime repository root dir.

Returns:
the runtime repository root dir

getEngineResourcePath

public java.lang.String getEngineResourcePath()

getSpagoBIServerUrl

public java.lang.String getSpagoBIServerUrl()

getSpagobiTargetFunctionalityLabel

public java.lang.String getSpagobiTargetFunctionalityLabel()
Gets the spagobi target functionality label.

Returns:
the spagobi target functionality label

getSpagobiUrl

public java.lang.String getSpagobiUrl()
Gets the spagobi url.

Returns:
the spagobi url

isAutoPublishActive

public boolean isAutoPublishActive()
Checks if is auto publish active.

Returns:
true, if is auto publish active

getJavaInstallDir

public java.lang.String getJavaInstallDir()
Gets the java install dir.

Returns:
the java install dir

getJavaBinDir

public java.lang.String getJavaBinDir()
Gets the java bin dir.

Returns:
the java bin dir

getJavaCommand

public java.lang.String getJavaCommand()
Gets the java command.

Returns:
the java command

getJavaCommandOption

public java.lang.String getJavaCommandOption(java.lang.String optionName)
Gets the java command option.

Parameters:
optionName - the option name
Returns:
the java command option

getJobSeparator

public java.lang.String getJobSeparator()
Gets the job separator.

Returns:
the job separator

getPerlBinDir

public java.lang.String getPerlBinDir()
Gets the perl bin dir.

Returns:
the perl bin dir

getPerlCommand

public java.lang.String getPerlCommand()
Gets the perl command.

Returns:
the perl command

getPerlExt

public java.lang.String getPerlExt()
Gets the perl ext.

Returns:
the perl ext

getPerlInstallDir

public java.lang.String getPerlInstallDir()
Gets the perl install dir.

Returns:
the perl install dir

getWordSeparator

public java.lang.String getWordSeparator()
Gets the word separator.

Returns:
the word separator

getEngineConfig

public it.eng.spagobi.services.common.EnginConf getEngineConfig()

setEngineConfig

public void setEngineConfig(it.eng.spagobi.services.common.EnginConf engineConfig)