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

io.sphere.sdk.expansion.ExpansionPath Maven / Gradle / Ivy

There is a newer version: 1.0.0-M26
Show newest version
package io.sphere.sdk.expansion;

/**
 * An entry for reference expansion.
 *
 * Equality for instances should only depend on the complete generates expansion path as String.
 */
public interface ExpansionPath {

    /**
     * Returns a SPHERE.IO reference expansion path expression.
     * @return String with unescaped expand path expression.
     */
    String toSphereExpand();

    static  ExpansionPath of(final String sphereExpansionPathExpression) {
        return new SimpleExpansionPath<>(sphereExpansionPathExpression);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy