org.gcube.common.vremanagement.ghnmanager.impl.platforms
Class Finder

java.lang.Object
  extended by org.gcube.common.vremanagement.ghnmanager.impl.platforms.Finder

public class Finder
extends java.lang.Object

Search for locally available virtual platforms

Author:
Manuele Simi (ISTI-CNR)

Nested Class Summary
static class Finder.PlatformNotAvailableException
          Specialized exception for virtual platform unavailability
 
Constructor Summary
Finder()
           
 
Method Summary
static org.gcube.vremanagement.virtualplatform.image.VirtualPlatform find(PlatformDescription platformDescription)
          Checks if the platform is locally available
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Finder

public Finder()
Method Detail

find

public static org.gcube.vremanagement.virtualplatform.image.VirtualPlatform find(PlatformDescription platformDescription)
                                                                          throws java.lang.Exception
Checks if the platform is locally available

Parameters:
platformDescription - the platform configuration to look for
Returns:
the platform found, if any
Throws:
Finder.PlatformNotAvailableException
java.lang.Exception