Class VelocimacroManager.MacroEntry

java.lang.Object
org.apache.velocity.runtime.VelocimacroManager.MacroEntry
Enclosing class:
VelocimacroManager

private static class VelocimacroManager.MacroEntry extends Object
wrapper class for holding VM information
  • Field Details

    • sourceTemplate

      private final String sourceTemplate
    • fromLibrary

      private boolean fromLibrary
    • vp

      private VelocimacroProxy vp
  • Constructor Details

  • Method Details

    • setFromLibrary

      public void setFromLibrary(boolean fromLibrary)
      Has the macro been registered from a library.
      Parameters:
      fromLibrary - True if the macro was registered from a Library.
    • getFromLibrary

      public boolean getFromLibrary()
      Returns true if the macro was registered from a library.
      Returns:
      True if the macro was registered from a library.
    • getSourceTemplate

      public String getSourceTemplate()
    • getProxy

      VelocimacroProxy getProxy()