io.sphere.sdk.extensions.commands.ExtensionCreateCommand Maven / Gradle / Ivy
/*
This class has been generated by class io.sphere.sdk.annotations.processors.CreateCommandEndpointAnnotationProcessor
induced by the annotation io.sphere.sdk.annotations.HasCreateCommand.
in the source class io.sphere.sdk.extensions.Extension.
To render this class the handlebars template 'commands/createCommandInterface.hbs' has been used.
*/
package io.sphere.sdk.extensions.commands;
import io.sphere.sdk.commands.DraftBasedCreateCommandDsl;
import io.sphere.sdk.expansion.MetaModelReferenceExpansionDsl;
import io.sphere.sdk.extensions.Extension;
import io.sphere.sdk.extensions.ExtensionDraft;
import io.sphere.sdk.extensions.expansion.ExtensionExpansionModel;
/**
Creates an extension
@see ExtensionDraft
@see Extension
*/
public interface ExtensionCreateCommand extends DraftBasedCreateCommandDsl, MetaModelReferenceExpansionDsl> {
/**
Creates a command object to create a {@link Extension}.
@param draft template to create the new object
@return a new create command
*/
static ExtensionCreateCommand of(final ExtensionDraft draft) {
return new ExtensionCreateCommandImpl(draft);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy