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

com.freya02.botcommands.api.annotations.AppendMode Maven / Gradle / Ivy

package com.freya02.botcommands.api.annotations;

/**
 * Specifies the append mode of the specified attribute, such as permissions or guild IDs.
 * 
Depending on the append mode, the attributes could inherit the attributes of the parent class, or of a base set *
For example, if the class has attributes but the method's mode is on SET then only the method's attributes are retained *
Otherwise, the class's and the method's attributes are retained */ public enum AppendMode { /** * Adds the attributes of this method with the attributes of the class, if they exist, * otherwise uses the attributes of the method */ ADD, /** * Overrides the attributes of the class if they exist, * otherwise uses the attributes of the method */ SET }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy