it.geosolutions.geobatch.configuration.event.generator.file
Class FileBasedEventGeneratorConfiguration

java.lang.Object
  extended by it.geosolutions.geobatch.catalog.impl.BaseIdentifiable
      extended by it.geosolutions.geobatch.catalog.impl.BaseConfiguration
          extended by it.geosolutions.geobatch.configuration.event.generator.EventGeneratorConfiguration
              extended by it.geosolutions.geobatch.configuration.event.generator.file.FileBasedEventGeneratorConfiguration
All Implemented Interfaces:
Configuration, Identifiable, java.lang.Cloneable

public class FileBasedEventGeneratorConfiguration
extends EventGeneratorConfiguration
implements Configuration

Conf for the event generators based on xml marshalled files.

Author:
Simone Giannecchini, GeoSolutions

Constructor Summary
FileBasedEventGeneratorConfiguration(java.lang.String id, java.lang.String name, java.lang.String description, boolean dirty, OsType osType, FileSystemEventType eventType, java.lang.String watchDirectory, java.lang.String interval, java.lang.String wildCard, boolean keepFiles)
           
 
Method Summary
 FileSystemEventType getEventType()
          Getter for the event type attribute.
 java.lang.String getInterval()
           
 boolean getKeepFiles()
          Getter for the keep files in watchDirectory flag.
 FileSystemMonitorType getMonitorType()
           
 OsType getOsType()
          Getter for the OS type attribute.
 java.lang.String getWatchDirectory()
           
 java.lang.String getWildCard()
          Getter for the wild card attribute.
 void setEventType(FileSystemEventType eventType)
          Setter for the event type attribute.
 void setInterval(java.lang.String interval)
           
 void setKeepFiles(boolean keepFiles)
          Setter for the keep files in watchDirectory flag.
 void setMonitorType(FileSystemMonitorType monitorType)
           
 void setOsType(OsType osType)
          Setter for the OS type attribute.
 void setWatchDirectory(java.lang.String watchDirectory)
           
 void setWildCard(java.lang.String wildCard)
          Setter for the wild card attribute.
 
Methods inherited from class it.geosolutions.geobatch.catalog.impl.BaseConfiguration
clone, getServiceID, isDirty, setDirty, setServiceID, toString
 
Methods inherited from class it.geosolutions.geobatch.catalog.impl.BaseIdentifiable
getDescription, getId, getName, setDescription, setId, setName
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface it.geosolutions.geobatch.catalog.Configuration
getServiceID, isDirty, setDirty, setServiceID
 
Methods inherited from interface it.geosolutions.geobatch.catalog.Identifiable
getDescription, getId, getName, setDescription, setId, setName
 

Constructor Detail

FileBasedEventGeneratorConfiguration

public FileBasedEventGeneratorConfiguration(java.lang.String id,
                                            java.lang.String name,
                                            java.lang.String description,
                                            boolean dirty,
                                            OsType osType,
                                            FileSystemEventType eventType,
                                            java.lang.String watchDirectory,
                                            java.lang.String interval,
                                            java.lang.String wildCard,
                                            boolean keepFiles)
Parameters:
id -
name -
description -
dirty -
osType -
eventType -
watchDirectory -
interval -
wildCard -
keepFiles -
Method Detail

setWatchDirectory

public void setWatchDirectory(java.lang.String watchDirectory)

getMonitorType

public FileSystemMonitorType getMonitorType()
Returns:

setMonitorType

public void setMonitorType(FileSystemMonitorType monitorType)
Parameters:
monitorType -

getInterval

public java.lang.String getInterval()

setInterval

public void setInterval(java.lang.String interval)

getWatchDirectory

public java.lang.String getWatchDirectory()

getOsType

public OsType getOsType()
Getter for the OS type attribute.

Returns:
osType

setOsType

public void setOsType(OsType osType)
Setter for the OS type attribute.

Parameters:
osType -

getWildCard

public java.lang.String getWildCard()
Getter for the wild card attribute.

Returns:
wildCard

setWildCard

public void setWildCard(java.lang.String wildCard)
Setter for the wild card attribute.

Parameters:
wildCard -

getEventType

public FileSystemEventType getEventType()
Getter for the event type attribute.

Returns:
eventType

setEventType

public void setEventType(FileSystemEventType eventType)
Setter for the event type attribute.

Parameters:
eventType -

getKeepFiles

public boolean getKeepFiles()
Getter for the keep files in watchDirectory flag.

Returns:
keepFiles

setKeepFiles

public void setKeepFiles(boolean keepFiles)
Setter for the keep files in watchDirectory flag.

Parameters:
keepFiles -


Copyright © 2008-2012 GeoSolutions. All Rights Reserved.