public class AutomaticHardwareIdSpec extends Object
Constructor and Description |
---|
AutomaticHardwareIdSpec() |
Modifier and Type | Method and Description |
---|---|
static AutomaticHardwareIdSpec |
automaticHardwareIdSpecBuilder(double cores,
int ram,
com.google.common.base.Optional<Float> disk) |
double |
getCores() |
com.google.common.base.Optional<Float> |
getDisk() |
int |
getRam() |
static boolean |
isAutomaticId(String id) |
static AutomaticHardwareIdSpec |
parseId(String hardwareId) |
String |
toString() |
public static boolean isAutomaticId(String id)
public static AutomaticHardwareIdSpec parseId(String hardwareId)
public static AutomaticHardwareIdSpec automaticHardwareIdSpecBuilder(double cores, int ram, com.google.common.base.Optional<Float> disk)
public double getCores()
public int getRam()
public com.google.common.base.Optional<Float> getDisk()
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.