org.opensync.engine.server
Class OpenSyncProps

java.lang.Object
  extended byorg.opensync.engine.server.OpenSyncProps

public class OpenSyncProps
extends java.lang.Object

This object gives all the properties needed by the OpenSync application


Field Summary
protected  int guiLogRollWindow
          The log roll window in Ko (clean screen when reach)
protected  boolean guiTaskCloseWhenFinished
          The Task window will close when fihish
protected  boolean incrementalMode
          The incremental mode for synchronisation
protected  java.lang.String logLevel
          The log level
protected  int schedulerHttpPort
          The http port of the scheduler used to start a taks by a http request
protected  java.lang.String xmlParserProp
           
protected  java.lang.String xsltProcessorProp
           
 
Constructor Summary
OpenSyncProps()
          Construct a OpenSyncProps
 
Method Summary
 int getGuiLogRollWindow()
          Get the log roll window in Ko
 boolean getIncrementalMode()
           
 java.lang.String getLogLevel()
          Get the level
 int getSchedulerHttpPort()
          Get the http scheduler port
 java.lang.String getXmlParserProp()
           
 java.lang.String getXsltProcessorProp()
           
 boolean isGuiTaskCloseWhenFinished()
          The Task window must be closed closed when fihish
 void loadProperties(java.lang.String path)
          Load the properties file
 void setGuiLogRollWindow(int guiLogRollWindow)
          Set the log roll window
 void setGuiTaskCloseWhenFinished(boolean guiTaskCloseWhenFinished)
          Set it, if you want the Task window closed when fihish
 void setIncrementalMode(boolean incrementalMode)
           
 void setLogLevel(java.lang.String logLevel)
          Set the level
 void setSchedulerHttpPort(int schedulerHttpPort)
          Set the http scheduler port
 void setXmlParserProp(java.lang.String xmlParserProp)
           
 void setXsltProcessorProp(java.lang.String xsltProcessorProp)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

guiLogRollWindow

protected int guiLogRollWindow
The log roll window in Ko (clean screen when reach)


guiTaskCloseWhenFinished

protected boolean guiTaskCloseWhenFinished
The Task window will close when fihish


schedulerHttpPort

protected int schedulerHttpPort
The http port of the scheduler used to start a taks by a http request


logLevel

protected java.lang.String logLevel
The log level


incrementalMode

protected boolean incrementalMode
The incremental mode for synchronisation


xsltProcessorProp

protected java.lang.String xsltProcessorProp

xmlParserProp

protected java.lang.String xmlParserProp
Constructor Detail

OpenSyncProps

public OpenSyncProps()
Construct a OpenSyncProps

Method Detail

getIncrementalMode

public boolean getIncrementalMode()

getXsltProcessorProp

public java.lang.String getXsltProcessorProp()

getXmlParserProp

public java.lang.String getXmlParserProp()

getGuiLogRollWindow

public int getGuiLogRollWindow()
Get the log roll window in Ko


setGuiLogRollWindow

public void setGuiLogRollWindow(int guiLogRollWindow)
Set the log roll window

Parameters:
guiLogRollWindow - the roll window in Ko

setGuiTaskCloseWhenFinished

public void setGuiTaskCloseWhenFinished(boolean guiTaskCloseWhenFinished)
Set it, if you want the Task window closed when fihish

Parameters:
guiTaskCloseWhenFinished -

isGuiTaskCloseWhenFinished

public boolean isGuiTaskCloseWhenFinished()
The Task window must be closed closed when fihish


loadProperties

public void loadProperties(java.lang.String path)
                    throws java.io.IOException,
                           OpenSyncException
Load the properties file

Parameters:
path - the path of the properties file
Throws:
OpenSyncException
java.io.IOException

setSchedulerHttpPort

public void setSchedulerHttpPort(int schedulerHttpPort)
Set the http scheduler port

Parameters:
schedulerHttpPort - the http port

getSchedulerHttpPort

public int getSchedulerHttpPort()
Get the http scheduler port


setLogLevel

public void setLogLevel(java.lang.String logLevel)
Set the level

Parameters:
logLevel - the level

getLogLevel

public java.lang.String getLogLevel()
Get the level


setIncrementalMode

public void setIncrementalMode(boolean incrementalMode)
Parameters:
incrementalMode - The incrementalMode to set.

setXmlParserProp

public void setXmlParserProp(java.lang.String xmlParserProp)
Parameters:
xmlParserProp - The xmlParserProp to set.

setXsltProcessorProp

public void setXsltProcessorProp(java.lang.String xsltProcessorProp)
Parameters:
xsltProcessorProp - The xsltProcessorProp to set.


Copyright © 2004 sourceforge. All Rights Reserved.