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