|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@Contract public interface TemplateRepository
Repository for virtualization templates
| Method Summary | |
|---|---|
Collection<TemplateInstance> |
all()
Returns all the templates registered in the repository. |
TemplateInstance |
byName(String name)
Lookup a template instance by its name |
boolean |
delete(Template config)
Deletes a template from the repository |
Collection<TemplateInstance> |
get(SearchCriteria criteria)
Search the repository for all templates satisfying the passed SearchCriteria. |
boolean |
installs(Template config,
Collection<File> files)
Installs a template in the repository |
| Method Detail |
|---|
boolean installs(Template config,
Collection<File> files)
config - the template configuration as obtained from the user.
boolean delete(Template config)
config - the template configuration
Collection<TemplateInstance> get(SearchCriteria criteria)
SearchCriteria.
criteria - the search criteria for the requested templates
Collection<TemplateInstance> all()
TemplateInstance byName(String name)
name - the template name
TemplateInstance if found otherwise null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||