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

io.sphere.sdk.commands.UpdateActionImpl Maven / Gradle / Ivy

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