
com.vaadin.flow.component.spreadsheet.shared.ErrorLevel Maven / Gradle / Ivy
/*
* #%L
* Vaadin Spreadsheet
* %%
* Copyright (C) 2013 - 2022 Vaadin Ltd
* %%
* This program is available under Commercial Vaadin Developer License
* 4.0 (CVDLv4).
*
* For the full License, see .
* #L%
*/
package com.vaadin.flow.component.spreadsheet.shared;
/**
* Represents the error levels displayed on components.
*
* @author Vaadin Ltd
* @since 8.2
*/
public enum ErrorLevel {
/**
* Error level for informational messages.
*/
INFO,
/**
* Error level for warning messages.
*/
WARNING,
/**
* Error level for regular messages.
*/
ERROR,
/**
* Error level for critical messages.
*/
CRITICAL,
/**
* Error level for system errors and bugs.
*/
SYSTEM;
/**
* Integer representation of error severity for comparison.
*
* @return integer for error severity
*/
public int intValue() {
return ordinal();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy