gr.uoa.di.madgik.commons.state.store
Class StateStoreInfo

java.lang.Object
  extended by gr.uoa.di.madgik.commons.state.store.StateStoreInfo
All Implemented Interfaces:
ICloneable, java.lang.Cloneable

public class StateStoreInfo
extends java.lang.Object
implements ICloneable

Configuration class holding information on the files that must be used for the State Store Repository to persist information on the registry and the data. If the files are changed and then the StateManager is reinitialized, all previously stored state will not be available.

Author:
gpapanikos

Constructor Summary
StateStoreInfo(java.io.File EntryRegistryFile, java.io.File EntryDataFile)
          Creates a new instance of the class
 
Method Summary
 java.lang.Object Clone()
          Clones the implementing instnace
 java.io.File GetEntryDataFile()
          Retrieves the file to use for the data repository
 java.io.File GetEntryRegistryFile()
          Retrieves the file to use for the registry repository
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StateStoreInfo

public StateStoreInfo(java.io.File EntryRegistryFile,
                      java.io.File EntryDataFile)
Creates a new instance of the class

Parameters:
EntryRegistryFile - The file to use for the registry repository
EntryDataFile - The file to use for the data repository
Method Detail

GetEntryRegistryFile

public java.io.File GetEntryRegistryFile()
Retrieves the file to use for the registry repository

Returns:
the file

GetEntryDataFile

public java.io.File GetEntryDataFile()
Retrieves the file to use for the data repository

Returns:
The file

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

Clone

public java.lang.Object Clone()
Description copied from interface: ICloneable
Clones the implementing instnace

Specified by:
Clone in interface ICloneable
Returns:
the new, cloned instnace