public class CustomMachineNamer extends CloudMachineNamer
Modifier and Type | Field and Description |
---|---|
static ConfigKey<java.util.Map<java.lang.String,?>> |
EXTRA_SUBSTITUTIONS |
static ConfigKey<java.lang.String> |
MACHINE_NAME_TEMPLATE |
Constructor and Description |
---|
CustomMachineNamer(ConfigBag setup) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
generateNewMachineUniqueName() |
java.lang.String |
generateNewMachineUniqueNameFromGroupId(java.lang.String groupId) |
generateNewGroupId, getCustomMaxNameLength, getMaxNameLength, lengthMaxPermittedForMachineName, lengthReservedForNameInGroup, sanitize
public static final ConfigKey<java.lang.String> MACHINE_NAME_TEMPLATE
public static final ConfigKey<java.util.Map<java.lang.String,?>> EXTRA_SUBSTITUTIONS
public CustomMachineNamer(ConfigBag setup)
public java.lang.String generateNewMachineUniqueName()
generateNewMachineUniqueName
in class CloudMachineNamer
public java.lang.String generateNewMachineUniqueNameFromGroupId(java.lang.String groupId)
generateNewMachineUniqueNameFromGroupId
in class CloudMachineNamer