Class NullEqualToIsParentOrIsGrandparentOfCurrentLocation

java.lang.Object
org.jclouds.compute.domain.internal.NullEqualToIsParentOrIsGrandparentOfCurrentLocation
All Implemented Interfaces:
com.google.common.base.Predicate<ComputeMetadata>, Predicate<ComputeMetadata>

public class NullEqualToIsParentOrIsGrandparentOfCurrentLocation extends Object implements com.google.common.base.Predicate<ComputeMetadata>
If the current location id is null, then we don't care where to launch a node. If the input location is null, then the data isn't location sensitive If the input location equals, is a parent or grandparent of the specified location, then we are ok.
  • Constructor Details

    • NullEqualToIsParentOrIsGrandparentOfCurrentLocation

      public NullEqualToIsParentOrIsGrandparentOfCurrentLocation(com.google.common.base.Supplier<Location> locationSupplier)
  • Method Details