it.geosolutions.geobatch.configuration.flow
Class BaseFlowConfiguration

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.flow.BaseFlowConfiguration
All Implemented Interfaces:
Configuration, Identifiable, FlowConfiguration, java.lang.Cloneable

public abstract class BaseFlowConfiguration
extends BaseConfiguration
implements FlowConfiguration

Author:
Alessio Fabiani, GeoSolutions, (r2)Carlo Cancellieri - carlo.cancellieri@geo-solutions.it

Constructor Summary
BaseFlowConfiguration(java.lang.String id, java.lang.String name, EventGeneratorConfiguration eventGeneratorConfiguration, java.lang.String description, EventConsumerConfiguration eventConsumerConfiguration)
           
 
Method Summary
 int getCorePoolSize()
           
 EventConsumerConfiguration getEventConsumerConfiguration()
          The Rule-Set Configuration
 EventGeneratorConfiguration getEventGeneratorConfiguration()
          The Rule-Set Configuration
 long getKeepAliveTime()
           
 int getMaximumPoolSize()
           
 ProgressListenerConfiguration getProgressListenerConfiguration(java.lang.String id)
           
 java.util.List<ProgressListenerConfiguration> getProgressListenerConfigurations()
           
 int getWorkQueueSize()
           
 void setCorePoolSize(int corePoolSize)
           
 void setEventConsumerConfiguration(EventConsumerConfiguration eventConsumerConfiguration)
          The Rule-Set Configuration
 void setEventGeneratorConfiguration(EventGeneratorConfiguration eventGeneratorConfiguration)
           
 void setKeepAliveTime(long keepAliveTime)
           
 void setMaximumPoolSize(int maximumPoolSize)
           
 void setProgressListenerConfigurations(java.util.List<ProgressListenerConfiguration> progressListenerConfigurations)
           
 void setWorkQueueSize(int workQueueSize)
           
 java.lang.String toString()
           
 
Methods inherited from class it.geosolutions.geobatch.catalog.impl.BaseConfiguration
clone, getServiceID, isDirty, setDirty, setServiceID
 
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

BaseFlowConfiguration

public BaseFlowConfiguration(java.lang.String id,
                             java.lang.String name,
                             EventGeneratorConfiguration eventGeneratorConfiguration,
                             java.lang.String description,
                             EventConsumerConfiguration eventConsumerConfiguration)
Method Detail

getWorkQueueSize

public int getWorkQueueSize()
Returns:

setWorkQueueSize

public void setWorkQueueSize(int workQueueSize)
Parameters:
workQueueSize -

getEventGeneratorConfiguration

public EventGeneratorConfiguration getEventGeneratorConfiguration()
Description copied from interface: FlowConfiguration
The Rule-Set Configuration

Specified by:
getEventGeneratorConfiguration in interface FlowConfiguration
Returns:

setEventGeneratorConfiguration

public void setEventGeneratorConfiguration(EventGeneratorConfiguration eventGeneratorConfiguration)
Specified by:
setEventGeneratorConfiguration in interface FlowConfiguration
Parameters:
eventGeneratorConfiguration - the eventGeneratorConfiguration to set

toString

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

getEventConsumerConfiguration

public EventConsumerConfiguration getEventConsumerConfiguration()
Description copied from interface: FlowConfiguration
The Rule-Set Configuration

Specified by:
getEventConsumerConfiguration in interface FlowConfiguration
Returns:

setEventConsumerConfiguration

public void setEventConsumerConfiguration(EventConsumerConfiguration eventConsumerConfiguration)
Description copied from interface: FlowConfiguration
The Rule-Set Configuration

Specified by:
setEventConsumerConfiguration in interface FlowConfiguration
Parameters:
eventConsumerConfiguration -

getProgressListenerConfigurations

public java.util.List<ProgressListenerConfiguration> getProgressListenerConfigurations()
Specified by:
getProgressListenerConfigurations in interface FlowConfiguration

setProgressListenerConfigurations

public void setProgressListenerConfigurations(java.util.List<ProgressListenerConfiguration> progressListenerConfigurations)
Specified by:
setProgressListenerConfigurations in interface FlowConfiguration

getProgressListenerConfiguration

public ProgressListenerConfiguration getProgressListenerConfiguration(java.lang.String id)
Specified by:
getProgressListenerConfiguration in interface FlowConfiguration

getCorePoolSize

public int getCorePoolSize()
Returns:

setCorePoolSize

public void setCorePoolSize(int corePoolSize)
Parameters:
corePoolSize -

getMaximumPoolSize

public int getMaximumPoolSize()
Returns:

setMaximumPoolSize

public void setMaximumPoolSize(int maximumPoolSize)
Parameters:
maximumPoolSize -

getKeepAliveTime

public long getKeepAliveTime()
Returns:

setKeepAliveTime

public void setKeepAliveTime(long keepAliveTime)
Parameters:
keepAliveTime -


Copyright © 2008-2012 GeoSolutions. All Rights Reserved.