Méthode |
Description |
|
checkBounds ( string $farmRoleId, string $name, string | number $boundMin, string | number $boundMax, string $validator, boolean $allowEqual = false, mixed $errorMessage ) : array | false |
Validate bounds. |
|
checkFarmConfigurationIntegrity ( integer $farmId, array $farmSettings, array $roles = [], array $rolesToRemove = [] ) : boolean |
Checks farm configuration integrity |
|
checkInteger ( string $farmRoleId, string $name, string $value, string $title = null, string $min = null, string $max = null ) : integer | false |
Validate integer and set builder error if value is not valid |
|
checkString ( string $farmRoleId, string $name, string $value, string $errorMessage, string $regexp ) : string | false |
Validate string using regular expression |
|
getInitialSecurityGroupsList ( DBFarmRole $dbFarmRole ) |
|
|
getInstanceTypeHourlyRate ( string $platform, string $cloudLocation, string $instanceType, string $osFamily ) : float |
Gets instance type houry rate |
|
isFarmConfigurationValid ( $farmId, array $farmSettings, array $roles = [] ) : boolean |
|
|
isFarmRoleConfigurationValid ( ) |
|
|
setBuildError ( $setting, $message, $roleId = null, $isFinal = false ) |
|
|