{
purgeExecutor = new CleanAllPurgeExecutor( dirPurge.getDirectoryType() );
}
else if ( dirPurge.getDaysOlder() > 0 )
{
purgeExecutor = new DaysOldDirectoryPurgeExecutor( dirPurge.getDaysOlder(), dirPurge.getRetentionCount(),
dirPurge.getDirectoryType() );
}
else
{
purgeExecutor = new RetentionCountDirectoryPurgeExecutor( dirPurge.getRetentionCount(),