Class LevelResultCollectionFactory
Object
LevelResultCollectionFactory
Factory for creating
LevelResultCollection objects.-
Method Summary
Modifier and TypeMethodDescriptionstatic LevelResultCollectioncreateCollection(Channel channel, ObjectCollection objects, CalculateLevel calculateLevel, int numberDilations, MessageLogger logger) Creates aLevelResultCollectionfrom a channel and object collection.
-
Method Details
-
createCollection
public static LevelResultCollection createCollection(Channel channel, ObjectCollection objects, CalculateLevel calculateLevel, int numberDilations, MessageLogger logger) throws CreateException Creates aLevelResultCollectionfrom a channel and object collection.- Parameters:
channel- theChannelto processobjects- theObjectCollectionto processcalculateLevel- theCalculateLevelbean to use for level calculationnumberDilations- the number of dilations to apply to each objectlogger- theMessageLoggerfor logging messages- Returns:
- a new
LevelResultCollection - Throws:
CreateException- if an error occurs during creation
-