io.sphere.sdk.channels.commands.ChannelCreateCommand Maven / Gradle / Ivy
package io.sphere.sdk.channels.commands;
import io.sphere.sdk.channels.Channel;
import io.sphere.sdk.channels.ChannelDraft;
import io.sphere.sdk.channels.expansion.ChannelExpansionModel;
import io.sphere.sdk.commands.CreateCommand;
import io.sphere.sdk.expansion.MetaModelExpansionDsl;
/**
* Creates a channel.
*
* Example:
* {@include.example io.sphere.sdk.channels.commands.ChannelCreateCommandTest#execution()}
*
* @see io.sphere.sdk.channels.ChannelDraftBuilder
*/
public interface ChannelCreateCommand extends CreateCommand, MetaModelExpansionDsl> {
static ChannelCreateCommand of(final ChannelDraft draft) {
return new ChannelCreateCommandImpl(draft);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy