class ForcedRoot implements JsonObjectConvertible, Comparable<ForcedRoot> {

    @Override
    public int compareTo(final @NotNull ForcedRoot o) {
        return (Optional.ofNullable(this.getPath()).orElse("") + "/")
                .compareTo(Optional.ofNullable(o.getPath()).orElse("") + "/");
    }

}