Class TempOverrideMapResponse

java.lang.Object
com.broadleafcommerce.data.tracking.core.mapping.TempOverrideMapResponse

public class TempOverrideMapResponse extends Object
The result of a request to examine the deployment status and archival results of a deployment request whose WorkflowDeployRequest.isRemoveTemporaryOverride() is true.
Author:
Jeff Fischer
  • Constructor Details

    • TempOverrideMapResponse

      public TempOverrideMapResponse()
  • Method Details

    • shouldShortCircuit

      public TempOverrideMapResponse shouldShortCircuit(boolean shouldShortCircuit)
    • withShouldArchiveApplicationOverride

      public TempOverrideMapResponse withShouldArchiveApplicationOverride(boolean shouldArchiveApplicationOverride)
    • isShouldShortCircuit

      public boolean isShouldShortCircuit()
      Whether or not a deployment should actually be mapped to a production target, instead of just skipping the deployment operation. Generally, skipping will occur when a deployment is issued from an application level in a WorkflowDeployRequest.isRemoveTemporaryOverride() flow. If the application has made no changes in this flow from what was previously propagated, deployment should be effectively skipped.
      Returns:
      Whether or not the deployment mapping should be skipped
    • isShouldArchiveApplicationOverride

      public boolean isShouldArchiveApplicationOverride()
      Whether or not the application override should be archived. This generally occurs during a deployment as the result of WorkflowDeployRequest.isRemoveTemporaryOverride(). The decision will take into account if the override has established legitimate application override fields, and if so, will return false.
      Returns:
      Whether or not the application override should be archived
    • setShouldShortCircuit

      public void setShouldShortCircuit(boolean shouldShortCircuit)
      Whether or not a deployment should actually be mapped to a production target, instead of just skipping the deployment operation. Generally, skipping will occur when a deployment is issued from an application level in a WorkflowDeployRequest.isRemoveTemporaryOverride() flow. If the application has made no changes in this flow from what was previously propagated, deployment should be effectively skipped.
      Parameters:
      shouldProceed - Whether or not the deployment mapping should be skipped
    • setShouldArchiveApplicationOverride

      public void setShouldArchiveApplicationOverride(boolean shouldArchiveApplicationOverride)
      Whether or not the application override should be archived. This generally occurs during a deployment as the result of WorkflowDeployRequest.isRemoveTemporaryOverride(). The decision will take into account if the override has established legitimate application override fields, and if so, will return false.
      Parameters:
      shouldArchiveApplicationOverride - Whether or not the application override should be archived
    • 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