io.sphere.sdk.zones.expansion.ZoneExpansionModel Maven / Gradle / Ivy
The newest version!
package io.sphere.sdk.zones.expansion;
import io.sphere.sdk.expansion.ExpansionPathContainer;
import io.sphere.sdk.zones.Zone;
import java.util.List;
/**
DSL class to create expansion path expressions.
@param the type for which the expansion path is
*/
public interface ZoneExpansionModel extends ExpansionPathContainer {
static ZoneExpansionModel of() {
return new ZoneExpansionModelImpl<>();
}
static ZoneExpansionModel of(final List parentPath, final String path) {
return new ZoneExpansionModelImpl<>(parentPath, path);
}
}