org.eclipse.ohf.stem.ui.ge.servlet
Class SlideShowInfo

java.lang.Object
  extended by org.eclipse.ohf.stem.ui.ge.servlet.SlideShowInfo

public class SlideShowInfo
extends java.lang.Object

Class to hold information required by a SlideShowServlet session


Constructor Summary
SlideShowInfo(java.lang.String key, java.lang.String folder, boolean wait, java.lang.String file, java.lang.String delay)
          create an instance with the values pulled from URL
 
Method Summary
 void delay()
          Do a built in delay if needed
 java.lang.String getBBOX()
           
 int getCounter()
           
 java.lang.String getFileName()
           
 java.io.File[] getFiles()
           
 java.lang.String getFolderName()
           
 java.lang.String[] getInsert()
           
 java.lang.String getKey()
           
 boolean isExpired()
          called to check if it should be expired and deleted from the map of outstanding entries
 boolean isPause()
           
 boolean isWaitForKML()
           
 void setBBOX(java.lang.String bbox)
           
 void setCounter(int _counter)
           
 void setFileName(java.lang.String name)
           
 void setFiles(java.io.File[] _files)
           
 void setFolderName(java.lang.String name)
           
 void setInsert(java.lang.String[] insert)
           
 void setPause(boolean pause)
           
 void setWaitForKML(boolean forKML)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SlideShowInfo

public SlideShowInfo(java.lang.String key,
                     java.lang.String folder,
                     boolean wait,
                     java.lang.String file,
                     java.lang.String delay)
create an instance with the values pulled from URL

Parameters:
key - pseudo session key
folder - folder name containing KML files
wait - if true then wait for new KML when no more files in list.
file - Single file to be repeatably processed
delay - in seconds between request processing
Method Detail

isExpired

public boolean isExpired()
called to check if it should be expired and deleted from the map of outstanding entries

Returns:
true if session should be expired

getKey

public java.lang.String getKey()
Returns:
the key used to store this info.

getCounter

public int getCounter()
Returns:
the _counter

delay

public void delay()
Do a built in delay if needed


setCounter

public void setCounter(int _counter)
Parameters:
_counter - the _counter to set

getFiles

public java.io.File[] getFiles()
Returns:
the _files

setFiles

public void setFiles(java.io.File[] _files)
Parameters:
_files - the _files to set

getFolderName

public java.lang.String getFolderName()
Returns:
the _folderName

setFolderName

public void setFolderName(java.lang.String name)
Parameters:
name - the _folderName to set

isWaitForKML

public boolean isWaitForKML()
Returns:
the _waitForKML

setWaitForKML

public void setWaitForKML(boolean forKML)
Parameters:
forKML - the _waitForKML to set

isPause

public boolean isPause()
Returns:
the pause

setPause

public void setPause(boolean pause)
Parameters:
pause - the pause to set

getInsert

public java.lang.String[] getInsert()
Returns:
the insert

setInsert

public void setInsert(java.lang.String[] insert)
Parameters:
insert - the insert to set

getFileName

public java.lang.String getFileName()
Returns:
the _fileName

setFileName

public void setFileName(java.lang.String name)
Parameters:
name - the _fileName to set

getBBOX

public java.lang.String getBBOX()
Returns:
the _BBOX

setBBOX

public void setBBOX(java.lang.String bbox)
Parameters:
bbox - the _BBOX to set