Class ReindexRequest

    • 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()
        The IndexableType 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)
        The IndexableType for which the reindex is requested.
        Parameters:
        type - the type for which the reindex is requested
      • canEqual

        protected boolean canEqual​(Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object