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

io.vertx.up.atom.agent.Arrange Maven / Gradle / Ivy

There is a newer version: 0.9.0
Show newest version
package io.vertx.up.atom.agent;

import com.fasterxml.jackson.databind.JsonObjectDeserializer;
import com.fasterxml.jackson.databind.JsonObjectSerializer;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import io.vertx.core.json.JsonObject;
import io.vertx.up.eon.em.DeployMode;

import java.io.Serializable;

public class Arrange implements Serializable {
    /* Default mode of deployment */
    private transient DeployMode mode = DeployMode.CODE;
    /* Options */
    @JsonSerialize(using = JsonObjectSerializer.class)
    @JsonDeserialize(using = JsonObjectDeserializer.class)
    private transient JsonObject options;

    public DeployMode getMode() {
        return this.mode;
    }

    public void setMode(final DeployMode mode) {
        this.mode = mode;
    }

    public JsonObject getOptions() {
        return this.options;
    }

    public void setOptions(final JsonObject options) {
        this.options = options;
    }

    @Override
    public String toString() {
        return "Arrange{" +
                "mode=" + this.mode +
                ", options=" + this.options +
                '}';
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy