org.jclouds.rimuhosting.miro.compute.strategy
Class RimuHostingAddNodeWithTagStrategy

java.lang.Object
  extended by org.jclouds.rimuhosting.miro.compute.strategy.RimuHostingAddNodeWithTagStrategy
All Implemented Interfaces:
AddNodeWithTagStrategy

@Singleton
public class RimuHostingAddNodeWithTagStrategy
extends Object
implements AddNodeWithTagStrategy

Author:
Adrian Cole

Field Summary
protected  RimuHostingClient client
           
protected  Map<String,Credentials> credentialStore
           
protected  com.google.common.base.Function<Server,NodeMetadata> serverToNodeMetadata
           
 
Constructor Summary
protected RimuHostingAddNodeWithTagStrategy(RimuHostingClient client, Map<String,Credentials> credentialStore, com.google.common.base.Function<Server,NodeMetadata> serverToNodeMetadata)
           
 
Method Summary
 NodeMetadata addNodeWithTag(String tag, 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 RimuHostingClient client

credentialStore

protected final Map<String,Credentials> credentialStore

serverToNodeMetadata

protected final com.google.common.base.Function<Server,NodeMetadata> serverToNodeMetadata
Constructor Detail

RimuHostingAddNodeWithTagStrategy

@Inject
protected RimuHostingAddNodeWithTagStrategy(RimuHostingClient client,
                                                   Map<String,Credentials> credentialStore,
                                                   com.google.common.base.Function<Server,NodeMetadata> serverToNodeMetadata)
Method Detail

addNodeWithTag

public NodeMetadata addNodeWithTag(String tag,
                                   String name,
                                   Template template)
Specified by:
addNodeWithTag in interface AddNodeWithTagStrategy


Copyright © 2009-2010 jclouds. All Rights Reserved.