Class CreateSandboxRequest

java.lang.Object
com.broadleafcommerce.bulk.messaging.CreateSandboxRequest
All Implemented Interfaces:
com.broadleafcommerce.common.messaging.Securable, Serializable

public class CreateSandboxRequest extends Object implements com.broadleafcommerce.common.messaging.Securable, Serializable
A message representing a request to the sandbox service to create a given sandbox. This is mainly used by bulk updates and imports.

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

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

    • CreateSandboxRequest

      public CreateSandboxRequest(String description, String sandboxId, String sandboxName, String applicationId, String tenantId)
  • Method Details

    • getDescription

      public String getDescription()
      The description for the sandbox that should be created.
    • getSandboxId

      public String getSandboxId()
      The ID of the sandbox that should be created.
      See Also:
      • BulkUpdate.updatingSandboxId
    • getSandboxName

      public String getSandboxName()
      The name of the sandbox that should be created.
      See Also:
      • BulkUpdate.updatingSandboxName
    • getApplicationId

      public String getApplicationId()
      The ID of the application that should be set as the owning application of the sandbox.
      See Also:
      • BulkUpdate.updatingApplicationId
    • getTenantId

      public String getTenantId()
      The ID of the tenant that should be set as the owning tenant of the sandbox.
      See Also:
      • BulkUpdate.tenantId
    • 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