com.alachisoft.ncache.ncactivate.license.ActivationStatus Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of nc-activate Show documentation
Show all versions of nc-activate Show documentation
internal package of Alachisoft.
/*
* 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