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

org.ligoj.app.api.SubscriptionMode Maven / Gradle / Ivy

The newest version!
/*
 * Licensed under MIT (https://github.com/ligoj/ligoj/blob/master/LICENSE)
 */
package org.ligoj.app.api;

/**
 * Subscription mode. Used to define the way the parameters must be read and validated.
 */
public enum SubscriptionMode {

	/**
	 * The parameter is used to maintain the relation between the project and the tool. It will be requested to
	 * establish the relation, so must be generated in creation mode. At the end, this parameter has to be provided.
	 */
	LINK,

	/**
	 * The parameter is used to create a new subscription in the target tool, and to generate the parameter of type
	 * {@link #LINK}. Parameter values of this mode still stored in database but not used to retrieve information from
	 * the tool after the link has been established.
	 */
	CREATE,

	/**
	 * The parameter can be used for any mode.
	 */
	ALL,

	/**
	 * This parameter cannot be used.
	 */
	NONE

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy