Class DeleteSandboxRequest

java.lang.Object
com.broadleafcommerce.dataimport.messaging.DeleteSandboxRequest
All Implemented Interfaces:
com.broadleafcommerce.common.messaging.Securable, Serializable

public class DeleteSandboxRequest extends Object implements com.broadleafcommerce.common.messaging.Securable, Serializable
A message representing a request to the sandbox service to delete the sandbox for a failed Import.

Note that this class is duplicated in the sandbox service. Any changes made to this class should be propagated there.

Author:
Samarth Dhruva (samarthd)
See Also:
  • Constructor Details

    • DeleteSandboxRequest

      public DeleteSandboxRequest(String sandboxId, String applicationId, String tenantId, String author)
  • Method Details

    • getSandboxId

      public String getSandboxId()
      The ID of the sandbox that should be deleted.
      See Also:
      • Import.importingSandboxId
    • getApplicationId

      public String getApplicationId()
      The ID of the application that owns the sandbox.
      See Also:
      • Import.importingApplicationId
    • getTenantId

      public String getTenantId()
      The ID of the tenant that owns the sandbox.
      See Also:
      • Import.tenantId
    • getAuthor

      public String getAuthor()
      The author of the import (and thus the author who created the sandbox).
      See Also:
      • Import.author
    • getToken

      public String getToken()
      Specified by:
      getToken in interface com.broadleafcommerce.common.messaging.Securable
    • 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
    • setToken

      public void setToken(String token)
      Specified by:
      setToken in interface com.broadleafcommerce.common.messaging.Securable