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

io.keen.client.java.KeenConstants Maven / Gradle / Ivy

The newest version!
package io.keen.client.java;

/**
 * KeenConstants
 *
 * @author dkador
 * @since 1.0.0
 */
public final class KeenConstants {
    private KeenConstants() {}

    static final String SERVER_ADDRESS = "https://api.keen.io";
    static final String API_VERSION = "3.0";

    // Keen API constants

    static final int MAX_EVENT_DEPTH = 1000;
    static final int DEFAULT_MAX_ATTEMPTS = 3;
    static final String NAME_PARAM = "name";
    static final String SUCCESS_PARAM = "success";
    static final String ERROR_PARAM = "error";
    static final String DESCRIPTION_PARAM = "description";
    static final String INVALID_COLLECTION_NAME_ERROR = "InvalidCollectionNameError";
    static final String INVALID_PROPERTY_NAME_ERROR = "InvalidPropertyNameError";
    static final String INVALID_PROPERTY_VALUE_ERROR = "InvalidPropertyValueError";

    // Exported constants

    public static final String KEEN_FAKE_JSON_ROOT = "io.keen.client.java.__fake_root";
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy