|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Virtualization
Configuration about a particular virtualization technology.
| Nested Class Summary | |
|---|---|
static class |
Virtualization.Duck
|
static class |
Virtualization.ServerPoolDecorator
|
static class |
Virtualization.VirtResolver
|
| Method Summary | |
|---|---|
List<Action> |
getActions()
Returns the list of @see Action for this virtualization infrastructure. |
String |
getName()
Virtualization key name, that will be used as reference index by other configuration element like templates, serverPool definitions etc.. |
String |
getScriptsLocation()
For future use, we can have scripts attached to machine/virtual machine lifecycle that could be triggered at each event. |
List<GroupManager> |
getServerPoolMaster()
|
List<ServerPoolConfig> |
getServerPools()
This really should not be here mixing clients and providers information , but for prototyping it's fine. |
String |
getTemplateCacheRefreshRate()
Refresh rate in seconds for the template caching facility |
String |
getTemplateCacheSize()
Number of template disks the cache should maintain. |
List<Template> |
getTemplates()
Returns the list of registered templates for this virtualization infrastructure. |
String |
getType()
|
ServerPoolConfig |
serverPoolByName(String name)
Returns a serverPool configuration using a serverPool name |
void |
setName(String solution)
|
void |
setScriptsLocation(String location)
|
void |
setTemplateCacheRefreshRate(String cache)
|
void |
setTemplateCacheSize(String cache)
|
void |
setType(String virtType)
|
Template |
templateByName(String name)
Looks up a registered template by the name and returns it. |
| Methods inherited from interface org.jvnet.hk2.config.ConfigBeanProxy |
|---|
createChild, deepCopy, getParent, getParent |
| Method Detail |
|---|
String getName()
)void setName(String solution)
@NotNull String getType()
void setType(String virtType)
String getTemplateCacheSize()
void setTemplateCacheSize(String cache)
String getTemplateCacheRefreshRate()
void setTemplateCacheRefreshRate(String cache)
List<Template> getTemplates()
List<GroupManager> getServerPoolMaster()
List<ServerPoolConfig> getServerPools()
String getScriptsLocation()
Actionvoid setScriptsLocation(String location)
List<Action> getActions()
@DuckTyped Template templateByName(String name)
name - template name
@DuckTyped ServerPoolConfig serverPoolByName(String name)
name - the serverPool name
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||