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

com.alachisoft.ncache.ncactivate.license.ActivationStatus Maven / Gradle / Ivy

There is a newer version: 5.3.3
Show newest version
/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.alachisoft.ncache.ncactivate.license;

/**
 * @author Basit Anwer
 */
public enum ActivationStatus {
    Eval(80),
    Activated(81),
    Deactivated(82);

    private int _value;

    ActivationStatus(int value) {
        _value = value;
    }

    public int getOrdinal(ActivationStatus activationStatus) {
        if (activationStatus == Eval)
            return 80;
        else if (activationStatus == Activated)
            return 81;
        else if (activationStatus == Deactivated)
            return 82;
        else
            return 80;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy