Class ReindexRequest
- java.lang.Object
-
- com.broadleafcommerce.search.index.core.domain.ReindexRequest
-
- All Implemented Interfaces:
Serializable
public class ReindexRequest extends Object implements Serializable
Payload object representing a request to fully reindex an indexable type.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ReindexRequest()ReindexRequest(String name, com.broadleafcommerce.search.api.type.IndexableType type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(Object other)booleanequals(Object o)StringgetName()The requested name to identify the requested reindex to administrators.com.broadleafcommerce.search.api.type.IndexableTypegetType()TheIndexableTypefor which the reindex is requested.inthashCode()voidsetName(String name)The requested name to identify the requested reindex to administrators.voidsetType(com.broadleafcommerce.search.api.type.IndexableType type)TheIndexableTypefor which the reindex is requested.StringtoString()
-
-
-
Constructor Detail
-
ReindexRequest
public ReindexRequest(@Nullable String name, com.broadleafcommerce.search.api.type.IndexableType type)
-
ReindexRequest
public ReindexRequest()
-
-
Method Detail
-
getName
@Nullable public String getName()
The requested name to identify the requested reindex to administrators.If this is left
null, a name will be generated with the following format:$type + " Reindex - " + $timestamp- Returns:
- the requested name to identify the requested reindex to administrators
-
getType
public com.broadleafcommerce.search.api.type.IndexableType getType()
TheIndexableTypefor which the reindex is requested.- Returns:
- the type for which the reindex is requested
-
setName
public void setName(@Nullable String name)The requested name to identify the requested reindex to administrators.If this is left
null, a name will be generated with the following format:$type + " Reindex - " + $timestamp- Parameters:
type- the requested name to identify the requested reindex to administrators
-
setType
public void setType(com.broadleafcommerce.search.api.type.IndexableType type)
TheIndexableTypefor which the reindex is requested.- Parameters:
type- the type for which the reindex is requested
-
canEqual
protected boolean canEqual(Object other)
-
-