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 boolean
canEqual(Object other)
boolean
equals(Object o)
String
getName()
The requested name to identify the requested reindex to administrators.com.broadleafcommerce.search.api.type.IndexableType
getType()
TheIndexableType
for which the reindex is requested.int
hashCode()
void
setName(String name)
The requested name to identify the requested reindex to administrators.void
setType(com.broadleafcommerce.search.api.type.IndexableType type)
TheIndexableType
for which the reindex is requested.String
toString()
-
-
-
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()
TheIndexableType
for 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)
TheIndexableType
for which the reindex is requested.- Parameters:
type
- the type for which the reindex is requested
-
canEqual
protected boolean canEqual(Object other)
-
-