java.lang.Object
de.hybris.platform.personalizationservices.voters.impl.AbstractVoter
All Implemented Interfaces:
Voter, org.springframework.core.Ordered, org.springframework.integration.context.Orderable
Direct Known Subclasses:
ConfigurableUrlVoter, NewSessionVoter, PeriodicVoter, PreviewVoter

public abstract class AbstractVoter extends Object implements Voter
Base abstract voter with default handling of order.
  • Constructor Details

    • AbstractVoter

      public AbstractVoter(int order)
  • Method Details

    • getOrder

      public int getOrder()
      Specified by:
      getOrder in interface org.springframework.core.Ordered
    • setOrder

      public void setOrder(int order)
      Specified by:
      setOrder in interface org.springframework.integration.context.Orderable
    • getDefaultVote

      protected Vote getDefaultVote()