Class Conditional.Start

java.lang.Object
org.apache.sling.scripting.sightly.compiler.commands.Conditional.Start
All Implemented Interfaces:
Command
Enclosing class:
Conditional

public static final class Conditional.Start extends Object implements Command
  • Constructor Details

    • Start

      public Start(String variable, boolean expectedTruthValue)
  • Method Details

    • accept

      public void accept(CommandVisitor visitor)
      Description copied from interface: Command
      Accept a visitor.
      Specified by:
      accept in interface Command
      Parameters:
      visitor - the visitor that will process this command
    • getVariable

      public String getVariable()
    • getExpectedTruthValue

      public boolean getExpectedTruthValue()
    • toString

      public String toString()
      Overrides:
      toString in class Object