public class DefaultDirectiveChecker extends Object implements DirectiveChecker
| Constructor and Description |
|---|
DefaultDirectiveChecker() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isPresent(String directiveName,
org.apache.velocity.Template template)
Determines whether a directive with an specified name is present on a template instance.
|
public boolean isPresent(String directiveName, org.apache.velocity.Template template)
DirectiveCheckerisPresent in interface DirectiveCheckerdirectiveName - The name of the directive to look for.template - The template where we will search for the directive.Directives.isPresent(String, org.apache.velocity.Template)Copyright © 2018 Atlassian. All rights reserved.