@Singleton public class RimuHostingCreateNodeWithGroupEncodedIntoName extends Object implements CreateNodeWithGroupEncodedIntoName
Modifier and Type | Field and Description |
---|---|
protected RimuHostingClient |
client |
protected Map<String,Credentials> |
credentialStore |
protected com.google.common.base.Function<Server,NodeMetadata> |
serverToNodeMetadata |
Modifier | Constructor and Description |
---|---|
protected |
RimuHostingCreateNodeWithGroupEncodedIntoName(RimuHostingClient client,
Map<String,Credentials> credentialStore,
com.google.common.base.Function<Server,NodeMetadata> serverToNodeMetadata) |
Modifier and Type | Method and Description |
---|---|
NodeMetadata |
createNodeWithGroupEncodedIntoName(String group,
String name,
Template template)
create a node given the name and template parameters such as imageid, hardwareid, and
locationid.
|
protected final RimuHostingClient client
protected final Map<String,Credentials> credentialStore
protected final com.google.common.base.Function<Server,NodeMetadata> serverToNodeMetadata
@Inject protected RimuHostingCreateNodeWithGroupEncodedIntoName(RimuHostingClient client, Map<String,Credentials> credentialStore, com.google.common.base.Function<Server,NodeMetadata> serverToNodeMetadata)
public NodeMetadata createNodeWithGroupEncodedIntoName(String group, String name, Template template)
CreateNodeWithGroupEncodedIntoName
createNodeWithGroupEncodedIntoName
in interface CreateNodeWithGroupEncodedIntoName
group
- group name supplied by the username
- supplied by CreateNodesInGroupThenAddToSet
and must have the tag encoded into
it.template
- supplied by the userCopyright © 2009-2012 jclouds. All Rights Reserved.