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

com.syntaxphoenix.syntaxapi.service.ServicePriority Maven / Gradle / Ivy

There is a newer version: 2.0.13
Show newest version
package com.syntaxphoenix.syntaxapi.service;

import java.util.Arrays;
import java.util.Collections;
import java.util.List;

public enum ServicePriority {

	LOWEST(-2),
	LOW(-1),
	NORMAL(0),
	HIGH(1),
	HIGHEST(2);

	/*
	 * 
	 */

	public static final List ORDERED_VALUES = Collections.unmodifiableList(Arrays.asList(HIGHEST, HIGH, NORMAL, LOW, LOWEST));

	/*
	 * 
	 */

	private int priority;

	private ServicePriority(int priority) {
		this.priority = priority;
	}

	public int priority() {
		return priority;
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy