public interface TemplateStrategy
| Modifier and Type | Method and Description |
|---|---|
boolean |
compatibleWith(Resource<?> template)
Return true if this
TemplateStrategy is compatible with the given template Resource. |
Resource<?> |
getDefaultTemplate()
Return the default template to be used when generating resource, or null if none should be used.
|
String |
getReferencePath(Resource<?> template)
Return the path by which the given
Resource template should be referenced when constructing generated
resources. |
boolean compatibleWith(Resource<?> template)
TemplateStrategy is compatible with the given template Resource.String getReferencePath(Resource<?> template)
Resource template should be referenced when constructing generated
resources.Resource<?> getDefaultTemplate()
Copyright © 2014 JBoss by Red Hat. All Rights Reserved.