org.jclouds.byon.suppliers
Class SupplyFromProviderURIOrNodesProperty

java.lang.Object
  extended by org.jclouds.byon.suppliers.SupplyFromProviderURIOrNodesProperty
All Implemented Interfaces:
com.google.common.base.Function<URI,InputStream>, com.google.common.base.Supplier<InputStream>

public class SupplyFromProviderURIOrNodesProperty
extends Object
implements com.google.common.base.Supplier<InputStream>, com.google.common.base.Function<URI,InputStream>

Author:
Adrian Cole

Field Summary
protected  Logger logger
           
 
Constructor Summary
SupplyFromProviderURIOrNodesProperty(com.google.common.base.Supplier<URI> url)
           
SupplyFromProviderURIOrNodesProperty(URI url)
           
 
Method Summary
 InputStream apply(URI input)
           
 InputStream get()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.google.common.base.Function
equals
 

Field Detail

logger

protected Logger logger
Constructor Detail

SupplyFromProviderURIOrNodesProperty

public SupplyFromProviderURIOrNodesProperty(URI url)

SupplyFromProviderURIOrNodesProperty

@Inject
public SupplyFromProviderURIOrNodesProperty(com.google.common.base.Supplier<URI> url)
Method Detail

get

public InputStream get()
Specified by:
get in interface com.google.common.base.Supplier<InputStream>

toString

public String toString()
Overrides:
toString in class Object

apply

public InputStream apply(URI input)
Specified by:
apply in interface com.google.common.base.Function<URI,InputStream>


Copyright © 2009-2012 jclouds. All Rights Reserved.