com.huguesjohnson.debigulator
Class DebigulatorSession

java.lang.Object
  extended by com.huguesjohnson.debigulator.DebigulatorSession
All Implemented Interfaces:
java.io.Serializable

public class DebigulatorSession
extends java.lang.Object
implements java.io.Serializable

DebigulatorSession is used to store session information for the Debigulator application.

Author:
Hugues Johnson
See Also:
Serialized Form

Constructor Summary
DebigulatorSession()
          Default constructor.
 
Method Summary
 boolean getAutoSave()
          Returns whether or not to save the current session on exit.
 java.lang.String getSourceDirectoryPath()
          Returns the path to the source directory.
 boolean getSyncToSourceDirectory()
          Returns whether or not to syncronize the output directory to the source directory.
 BatchCompressionThreadParameters getThreadParameters()
          Sets the archive parameters.
 void setAutoSave(boolean autoSave)
          Sets whether or not to save the current session on exit.
 void setSourceDirectoryPath(java.lang.String sourceDirectoryPath)
          Sets the path to the source directory.
 void setSyncToSourceDirectory(boolean syncToSourceDirectory)
          Set whether or not to syncronize the output directory to the source directory.
 void setThreadParameters(BatchCompressionThreadParameters threadParameters)
          Sets the archive parameters.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DebigulatorSession

public DebigulatorSession()
Default constructor.

Method Detail

getAutoSave

public boolean getAutoSave()
Returns whether or not to save the current session on exit.

Returns:
Whether or not to save the current session on exit.

setAutoSave

public void setAutoSave(boolean autoSave)
Sets whether or not to save the current session on exit.

Parameters:
autoSave - Whether or not to save the current session on exit.

getThreadParameters

public BatchCompressionThreadParameters getThreadParameters()
Sets the archive parameters.

Returns:
The archive parameters.

setThreadParameters

public void setThreadParameters(BatchCompressionThreadParameters threadParameters)
Sets the archive parameters.

Parameters:
threadParameters - The new parameters.

getSyncToSourceDirectory

public boolean getSyncToSourceDirectory()
Returns whether or not to syncronize the output directory to the source directory.

Returns:
Returns whether or not to syncronize the output directory to the source directory.

setSyncToSourceDirectory

public void setSyncToSourceDirectory(boolean syncToSourceDirectory)
Set whether or not to syncronize the output directory to the source directory.

Parameters:
syncToSourceDirectory - Whether or not to syncronize the output directory to the source directory.

getSourceDirectoryPath

public java.lang.String getSourceDirectoryPath()
Returns the path to the source directory.

Returns:
Returns the path to the source directory.

setSourceDirectoryPath

public void setSourceDirectoryPath(java.lang.String sourceDirectoryPath)
Sets the path to the source directory.

Parameters:
sourceDirectoryPath - New path to the source directory.


Copyright © 2000-2007 Hugues Johnson