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

com.azure.messaging.eventgrid.systemevents.AppAction Maven / Gradle / Ivy

There is a newer version: 4.27.0
Show newest version
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.messaging.eventgrid.systemevents;

import com.azure.core.util.ExpandableStringEnum;
import java.util.Collection;

/**
 * Type of action of the operation.
 */
public final class AppAction extends ExpandableStringEnum {
    /**
     * Web app was restarted.
     */
    public static final AppAction RESTARTED = fromString("Restarted");

    /**
     * Web app was stopped.
     */
    public static final AppAction STOPPED = fromString("Stopped");

    /**
     * There was an operation to change app setting on the web app.
     */
    public static final AppAction CHANGED_APP_SETTINGS = fromString("ChangedAppSettings");

    /**
     * The job has started.
     */
    public static final AppAction STARTED = fromString("Started");

    /**
     * The job has completed.
     */
    public static final AppAction COMPLETED = fromString("Completed");

    /**
     * The job has failed to complete.
     */
    public static final AppAction FAILED = fromString("Failed");

    /**
     * Creates a new instance of AppAction value.
     * 
     * @deprecated Use the {@link #fromString(String)} factory method.
     */
    @Deprecated
    public AppAction() {
    }

    /**
     * Creates or finds a AppAction from its string representation.
     * 
     * @param name a name to look for.
     * @return the corresponding AppAction.
     */
    public static AppAction fromString(String name) {
        return fromString(name, AppAction.class);
    }

    /**
     * Gets known AppAction values.
     * 
     * @return known AppAction values.
     */
    public static Collection values() {
        return values(AppAction.class);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy