public static class MassIndexingJob.ParametersBuilderInitialStep extends Object
Modifier and Type | Method and 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.
|
public MassIndexingJob.ParametersBuilder forEntity(Class<?> entityType)
entityType
- the type of entity to indexpublic MassIndexingJob.ParametersBuilder forEntities(Class<?> entityType, Class<?>... entityTypes)
entityType
- the first type of entity to index, must not be nullentityTypes
- the remaining types of entity to indexCopyright © 2006-2018 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.