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

com.jelastic.api.system.persistence.VZLicenseStatus Maven / Gradle / Ivy

The newest version!
/*Server class MD5: 63d5dd63a085d7f407301913726bc5f1*/
package com.jelastic.api.system.persistence;

/**
 * @name Jelastic API Client
 * @version 8.11.2
 * @copyright Jelastic, Inc.
 */
public enum VZLicenseStatus {

    ACTIVE, VALID, EXPIRED, GRACED, INVALID;

    public static VZLicenseStatus of(String status) {
        for (VZLicenseStatus vzLicenseStatus : VZLicenseStatus.values()) {
            if (status != null && status.toLowerCase().startsWith(vzLicenseStatus.name().toLowerCase())) {
                return vzLicenseStatus;
            }
        }
        return null;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy