it.geosolutions.geobatch.flow.event.consumer.file
Class FileEventRule

java.lang.Object
  extended by it.geosolutions.geobatch.catalog.impl.BaseIdentifiable
      extended by it.geosolutions.geobatch.catalog.impl.BaseConfiguration
          extended by it.geosolutions.geobatch.flow.event.consumer.file.FileEventRule
All Implemented Interfaces:
Configuration, Identifiable, java.lang.Cloneable

public class FileEventRule
extends BaseConfiguration
implements java.lang.Cloneable


Constructor Summary
FileEventRule(java.lang.String id, java.lang.String name, java.lang.String description, boolean dirty)
           
 
Method Summary
 FileEventRule clone()
           
 java.util.List<FileSystemEventType> getAcceptableNotifications()
           
 int getActualOccurrencies()
           
 int getOriginalOccurrencies()
           
 java.lang.String getRegex()
           
 java.lang.String getServiceID()
           
 boolean isOptional()
           
 void setAcceptableNotifications(java.util.List<FileSystemEventType> acceptableNotifications)
           
 void setActualOccurrencies(int occurrencies)
           
 void setOptional(boolean optional)
           
 void setOriginalOccurrencies(int originalOccurrencies)
           
 void setRegex(java.lang.String regex)
           
 void setServiceID(java.lang.String serviceID)
           
 java.lang.String toString()
           
 
Methods inherited from class it.geosolutions.geobatch.catalog.impl.BaseConfiguration
isDirty, setDirty
 
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.Identifiable
getDescription, getId, getName, setDescription, setId, setName
 

Constructor Detail

FileEventRule

public FileEventRule(java.lang.String id,
                     java.lang.String name,
                     java.lang.String description,
                     boolean dirty)
Method Detail

getRegex

public java.lang.String getRegex()
Returns:

setRegex

public void setRegex(java.lang.String regex)
Parameters:
regex -

getOriginalOccurrencies

public int getOriginalOccurrencies()
Returns:

setActualOccurrencies

public void setActualOccurrencies(int occurrencies)
Parameters:
occurrencies -

isOptional

public boolean isOptional()
Returns:

setOptional

public void setOptional(boolean optional)
Parameters:
optional -

getAcceptableNotifications

public java.util.List<FileSystemEventType> getAcceptableNotifications()

setAcceptableNotifications

public void setAcceptableNotifications(java.util.List<FileSystemEventType> acceptableNotifications)

getActualOccurrencies

public int getActualOccurrencies()
Returns:

setOriginalOccurrencies

public void setOriginalOccurrencies(int originalOccurrencies)
Parameters:
originalOccurrencies -

clone

public FileEventRule clone()
Overrides:
clone in class BaseConfiguration

setServiceID

public void setServiceID(java.lang.String serviceID)
Specified by:
setServiceID in interface Configuration
Overrides:
setServiceID in class BaseConfiguration

getServiceID

public java.lang.String getServiceID()
Specified by:
getServiceID in interface Configuration
Overrides:
getServiceID in class BaseConfiguration

toString

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


Copyright © 2008-2012 GeoSolutions. All Rights Reserved.