io.sphere.sdk.states.expansion.StateExpansionModel Maven / Gradle / Ivy
package io.sphere.sdk.states.expansion;
import io.sphere.sdk.expansion.ExpansionPathContainer;
import io.sphere.sdk.states.State;
import java.util.List;
/**
DSL class to create expansion path expressions.
@param the type for which the expansion path is
*/
public interface StateExpansionModel extends ExpansionPathContainer {
StateExpansionModel transitions();
static StateExpansionModel of() {
return new StateExpansionModelImpl<>();
}
static StateExpansionModel of(final List parentPath, final String path) {
return new StateExpansionModelImpl<>(parentPath, path);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy