|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface TemplateInstance
Represents a template instance that can be instantiated in a virtual machine
| Method Summary | |
|---|---|
Template |
getConfig()
Returns the static (persisted) information on the template. |
TemplateCustomizer |
getCustomizer()
Returns the customizer for this template instance. |
File |
getFileByExtension(String extension)
Returns the first file in this template location that has this extension. |
File |
getLocation()
Returns the template location where template files were stored. |
boolean |
satisfies(TemplateCondition condition)
Returns true of the template satisfy a condition |
| Method Detail |
|---|
Template getConfig()
boolean satisfies(TemplateCondition condition)
condition - the index which can be a key value pair like a ServiceType:JavaEE or
any implementation of the TemplateCondition interface
TemplateCustomizer getCustomizer()
ServiceType index value.
File getLocation()
File getFileByExtension(String extension)
throws FileNotFoundException
extension - the requested file extension
FileNotFoundException - when no file with that extension is
present in this template definition
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||