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

io.sphere.sdk.states.commands.updateactions.ChangeInitial Maven / Gradle / Ivy

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

import io.sphere.sdk.commands.UpdateActionImpl;
import io.sphere.sdk.states.State;


/**
 * {@include.example io.sphere.sdk.states.commands.StateUpdateCommandTest#changeInitial()}
 */
public class ChangeInitial extends UpdateActionImpl {
    private final boolean inital;

    private ChangeInitial(final boolean initial) {
        super("changeInitial");
        this.inital = initial;
    }

    public static ChangeInitial of(final boolean initial) {
        return new ChangeInitial(initial);
    }

    public boolean isInitial() {
        return inital;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy