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

net.lenni0451.commandlib.contexts.CompletionContext Maven / Gradle / Ivy

package net.lenni0451.commandlib.contexts;

/**
 * A context which is used to store information about the completion process.
 */
public class CompletionContext {

    private int completionsTrim = 0;

    /**
     * @return The amount of characters that should be trimmed from the completions
     */
    public int getCompletionsTrim() {
        return this.completionsTrim;
    }

    /**
     * Set the amount of characters that should be trimmed from the completions.
* The characters will be trimmed from the start of the completion. * * @param completionsTrim The amount of characters */ public void setCompletionsTrim(final int completionsTrim) { this.completionsTrim = completionsTrim; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy