Package org.craftercms.engine.macro
Interface Macro
- All Known Implementing Classes:
AbstractMacro,CookieMacro,FixedValueMacro,RequestParamMacro,RequestUriMacro,ScopeAttributeMacro,WebAppContextPathMacro,WebAppPathMacro
public interface Macro
Represents a specific macro, and resolves any appearance of the macro in a string. A macro is a substring of the
form {macro} that represents a placeholder for a defined value or instruction. For example, the {webapp.path}
macro can be replaced for the path of the web app exploded dir.
- Author:
- Alfonso Vásquez
-
Method Summary
-
Method Details
-
getName
String getName() -
resolve
-