|
Forge - Parent 1.4.2-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TemplateStrategy
A strategy defining the manner in which template resources interact with generated resources.
Method Summary | |
---|---|
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. |
Method Detail |
---|
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()
|
Forge - Parent 1.4.2-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |