Class MassIndexingJob.ParametersBuilderInitialStep
- java.lang.Object
-
- org.hibernate.search.batch.jsr352.core.massindexing.MassIndexingJob.ParametersBuilderInitialStep
-
- Enclosing class:
- MassIndexingJob
public static class MassIndexingJob.ParametersBuilderInitialStep extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MassIndexingJob.ParametersBuilder
forEntities(Class<?> entityType, Class<?>... entityTypes)
The entity types to index in this job execution.MassIndexingJob.ParametersBuilder
forEntity(Class<?> entityType)
The entity type to index in this job execution.
-
-
-
Method Detail
-
forEntity
public MassIndexingJob.ParametersBuilder forEntity(Class<?> entityType)
The entity type to index in this job execution.- Parameters:
entityType
- the type of entity to index- Returns:
- itself
-
forEntities
public MassIndexingJob.ParametersBuilder forEntities(Class<?> entityType, Class<?>... entityTypes)
The entity types to index in this job execution.- Parameters:
entityType
- the first type of entity to index, must not be nullentityTypes
- the remaining types of entity to index- Returns:
- itself
-
-