io.sphere.sdk.expansion.ExpansionPath Maven / Gradle / Ivy
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