All Downloads are FREE. Search and download functionalities are using the official Maven repository.

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.ExpansionPathContainer;
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 ExpansionPathContainer transitions() {
        return expansionPath("transitions[*]");
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy