Interface Instruction

  • All Superinterfaces:
    StyleKeys
    All Known Implementing Classes:
    Instruction.AssignmentInstruction
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public interface Instruction
    extends StyleKeys
    A MapCSS Instruction. For example a simple assignment like width: 3;, but may also be a set instruction (set highway;). A MapCSS Declaration is a list of instructions.
    • Method Detail

      • execute

        void execute​(Environment env)
        Execute the instruction in the given environment.
        Parameters:
        env - the environment