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

io.sphere.sdk.states.expansion.StateExpansionModel Maven / Gradle / Ivy

There is a newer version: 1.0.0-M26
Show newest version
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