Class MessageInterlink

java.lang.Object
com.microservices.starter.core.environment.MessageInterlink
All Implemented Interfaces:
Serializable

public class MessageInterlink extends Object implements Serializable
The categories of messages that a given flexpackage should listen for. Only has meaning for flexpackage declarations. This is a special case setting an is primarily used in the Balanced flexpackage use case where the Processing flexpackage is primarily responsible for the handling of messages (and contains redundant component declarations for this purpose). Optional. all by default.
See Also:
  • Constructor Details

    • MessageInterlink

      public MessageInterlink()
  • Method Details

    • createSuppressed

      public static MessageInterlink createSuppressed()
    • createAll

      public static MessageInterlink createAll()
    • determineSuppressed

      public boolean determineSuppressed()
    • determineActive

      public boolean determineActive()
    • getSuppressed

      public Boolean getSuppressed()
      Message processing for the categories described here is uniformly suppressed. Individual categories may override overall suppression in a granular fashion.
    • getAll

      public Boolean getAll()
      Message processing for the categories described here is uniformly enabled. Individual categories may override overall enablement in a granular fashion.
    • getBulk

      public Boolean getBulk()
      Whether or not processing of bulk update messages is enabled
    • getExport

      public Boolean getExport()
      Whether or not processing of export messages is enabled
    • getImportData

      public Boolean getImportData()
      Whether or not processing of import messages is enabled
    • getJob

      public Boolean getJob()
      Whether or not processing of purge and prune scheduled job triggers is enabled
    • getTransition

      public Boolean getTransition()
      Whether or not sandbox transition request handling is enabled
    • getTenantSync

      public Boolean getTenantSync()
      Whether or not tenant data synchronization is enabled
    • getTenantSyncComponentFilter

      public String getTenantSyncComponentFilter()
      If the current component is a flexPackage component, then this list will determine which library components are enabled for tenant synchronization. Should be a comma delimited list of Component.getName(). If left blank, then all applicable components are included. This list should be equal to, or a subset of, FlexComponent#getFlexUnits(). Any values outside of the specified flexUnits will be ignored.

      If the current component is a library component, then this value is ignored.
    • getCustomer

      public Boolean getCustomer()
      Whether or not the majority of customer related messaging is enabled. See the bindings in com.broadleafcommerce.customer.messaging.autoconfigure.CustomerMessagingAutoConfiguration for a complete list of impacted message bindings.
    • setSuppressed

      public void setSuppressed(Boolean suppressed)
      Message processing for the categories described here is uniformly suppressed. Individual categories may override overall suppression in a granular fashion.
    • setAll

      public void setAll(Boolean all)
      Message processing for the categories described here is uniformly enabled. Individual categories may override overall enablement in a granular fashion.
    • setBulk

      public void setBulk(Boolean bulk)
      Whether or not processing of bulk update messages is enabled
    • setExport

      public void setExport(Boolean export)
      Whether or not processing of export messages is enabled
    • setImportData

      public void setImportData(Boolean importData)
      Whether or not processing of import messages is enabled
    • setJob

      public void setJob(Boolean job)
      Whether or not processing of purge and prune scheduled job triggers is enabled
    • setTransition

      public void setTransition(Boolean transition)
      Whether or not sandbox transition request handling is enabled
    • setTenantSync

      public void setTenantSync(Boolean tenantSync)
      Whether or not tenant data synchronization is enabled
    • setTenantSyncComponentFilter

      public void setTenantSyncComponentFilter(String tenantSyncComponentFilter)
      If the current component is a flexPackage component, then this list will determine which library components are enabled for tenant synchronization. Should be a comma delimited list of Component.getName(). If left blank, then all applicable components are included. This list should be equal to, or a subset of, FlexComponent#getFlexUnits(). Any values outside of the specified flexUnits will be ignored.

      If the current component is a library component, then this value is ignored.
    • setCustomer

      public void setCustomer(Boolean customer)
      Whether or not the majority of customer related messaging is enabled. See the bindings in com.broadleafcommerce.customer.messaging.autoconfigure.CustomerMessagingAutoConfiguration for a complete list of impacted message bindings.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object