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

com.microsoft.azure.gaming.Operation Maven / Gradle / Ivy

package com.microsoft.azure.gaming;

import com.google.gson.annotations.SerializedName;

/**
 * Operations that the agent asks the GSDK to perform.
 *
 * Note: The order needs to match the VM Agent and C++/C# GSDK.
 * Also make sure to keep these Uppercase, since Java string to
 * enum parsing is case-sensitive
 */
enum Operation {
    @SerializedName(value = "invalid", alternate = {"Invalid", "INVALID"})
    INVALID,

    @SerializedName(value = "continue", alternate = {"Continue", "CONTINUE"})
    CONTINUE,

    @SerializedName(value = "getmanifest", alternate = {"GetManifest", "GETMANIFEST"})
    GETMANIFEST,

    // TODO: Remove when CP no longer has Quarantine
    @SerializedName(value = "quarantine", alternate = {"Quarantine", "QUARANTINE"})
    QUARANTINE,

    @SerializedName(value = "active", alternate = {"Active", "ACTIVE"})
    ACTIVE,

    @SerializedName(value = "terminate", alternate = {"Terminate", "TERMINATE"})
    TERMINATE
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy