Class LevelResultCollectionFactory
Object
LevelResultCollectionFactory
Factory for creating
LevelResultCollection
objects.-
Method Summary
Modifier and TypeMethodDescriptionstatic LevelResultCollection
createCollection
(Channel channel, ObjectCollection objects, CalculateLevel calculateLevel, int numberDilations, MessageLogger logger) Creates aLevelResultCollection
from 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 aLevelResultCollection
from a channel and object collection.- Parameters:
channel
- theChannel
to processobjects
- theObjectCollection
to processcalculateLevel
- theCalculateLevel
bean to use for level calculationnumberDilations
- the number of dilations to apply to each objectlogger
- theMessageLogger
for logging messages- Returns:
- a new
LevelResultCollection
- Throws:
CreateException
- if an error occurs during creation
-