public class ServerInDataCenterToNodeMetadata extends Object implements com.google.common.base.Function<ServerInDataCenter,NodeMetadata>
Constructor and Description |
---|
ServerInDataCenterToNodeMetadata(com.google.common.base.Function<Volume,Volume> fnVolume,
com.google.common.base.Supplier<Set<? extends Location>> locations,
ProfitBricksApi api,
GroupNamingConvention.Factory groupNamingConvention) |
Modifier and Type | Method and Description |
---|---|
NodeMetadata |
apply(ServerInDataCenter serverInDataCenter) |
@Inject public ServerInDataCenterToNodeMetadata(com.google.common.base.Function<Volume,Volume> fnVolume, com.google.common.base.Supplier<Set<? extends Location>> locations, ProfitBricksApi api, GroupNamingConvention.Factory groupNamingConvention)
public NodeMetadata apply(ServerInDataCenter serverInDataCenter)
apply
in interface com.google.common.base.Function<ServerInDataCenter,NodeMetadata>
Copyright © 2009-2018 The Apache Software Foundation. All Rights Reserved.