io.sphere.sdk.commands.UpdateActionImpl Maven / Gradle / Ivy
package io.sphere.sdk.commands;
import io.sphere.sdk.models.Base;
import static java.util.Objects.requireNonNull;
/**
* Operation which can be performed to change the state of an entity in SPHERE.IO.
*
* @param the context of the update action
*
*/
public abstract class UpdateActionImpl extends Base implements UpdateAction {
private final String action;
protected UpdateActionImpl(final String action) {
this.action = requireNonNull(action);
}
@Override
public String getAction() {
return action;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy