Class 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:
    CreateSandboxRequestProducer, BulkUpdate, Serialized Form
    • Constructor Detail

      • CreateSandboxRequest

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

      • getDescription

        public String getDescription()
        The description for the sandbox that should be created.
      • 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
      • canEqual

        protected boolean canEqual​(Object other)
      • hashCode

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

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