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

io.dropwizard.logging.json.layout.ExceptionFormat Maven / Gradle / Ivy

There is a newer version: 5.0.0-alpha.5
Show newest version
package io.dropwizard.logging.json.layout;

import com.fasterxml.jackson.annotation.JsonProperty;

import java.util.Collections;
import java.util.List;

/**
 * @since 2.0
 */
public class ExceptionFormat {
    private boolean rootFirst = true;
    private String depth = "full";
    private List evaluators = Collections.emptyList();

    @JsonProperty
    public boolean isRootFirst() {
        return rootFirst;
    }

    @JsonProperty
    public void setRootFirst(boolean rootFirst) {
        this.rootFirst = rootFirst;
    }

    @JsonProperty
    public String getDepth() {
        return depth;
    }

    @JsonProperty
    public void setDepth(String depth) {
        this.depth = depth;
    }

    @JsonProperty
    public List getEvaluators() {
        return evaluators;
    }

    @JsonProperty
    public void setEvaluators(List evaluators) {
        this.evaluators = evaluators;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy