org.jclouds.slicehost.compute.strategy
Class SlicehostCreateNodeWithGroupEncodedIntoName

java.lang.Object
  extended by org.jclouds.slicehost.compute.strategy.SlicehostCreateNodeWithGroupEncodedIntoName
All Implemented Interfaces:
CreateNodeWithGroupEncodedIntoName

@Singleton
public class SlicehostCreateNodeWithGroupEncodedIntoName
extends Object
implements CreateNodeWithGroupEncodedIntoName

Author:
Adrian Cole

Field Summary
protected  SlicehostClient client
           
protected  Map<String,Credentials> credentialStore
           
protected  com.google.common.base.Function<Slice,NodeMetadata> sliceToNodeMetadata
           
 
Constructor Summary
protected SlicehostCreateNodeWithGroupEncodedIntoName(SlicehostClient client, Map<String,Credentials> credentialStore, com.google.common.base.Function<Slice,NodeMetadata> sliceToNodeMetadata)
           
 
Method Summary
 NodeMetadata createNodeWithGroupEncodedIntoName(String group, String name, Template template)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

client

protected final SlicehostClient client

credentialStore

protected final Map<String,Credentials> credentialStore

sliceToNodeMetadata

protected final com.google.common.base.Function<Slice,NodeMetadata> sliceToNodeMetadata
Constructor Detail

SlicehostCreateNodeWithGroupEncodedIntoName

@Inject
protected SlicehostCreateNodeWithGroupEncodedIntoName(SlicehostClient client,
                                                             Map<String,Credentials> credentialStore,
                                                             com.google.common.base.Function<Slice,NodeMetadata> sliceToNodeMetadata)
Method Detail

createNodeWithGroupEncodedIntoName

public NodeMetadata createNodeWithGroupEncodedIntoName(String group,
                                                       String name,
                                                       Template template)
Specified by:
createNodeWithGroupEncodedIntoName in interface CreateNodeWithGroupEncodedIntoName


Copyright © 2009-2011 jclouds. All Rights Reserved.