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

com.github.libgraviton.gdk.generator.GeneratorInstructionLoader Maven / Gradle / Ivy

There is a newer version: 0.10.0
Show newest version
package com.github.libgraviton.gdk.generator;

import java.util.List;

/**
 * Defines generator instruction loaders. These are components capable of providing instructions which can be
 * processed by the generator.
 */
public interface GeneratorInstructionLoader {

    /**
     * Loads all generator instructions. If the instructions are already loaded, a cached instruction set should be
     * returned.
     *
     * @return The instruction set.
     */
    List loadInstructions();

    /**
     * Loads all generator instructions.
     *
     * @param reload If the instructions are already loaded and this addParam is set to false, a cached instruction set
     *               should be returned. Otherwise the instruction list should be (re-) loaded.
     *
     * @return The instruction set.
     */
    List loadInstructions(boolean reload);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy