Method |
Description |
|
__construct ( DNEnvironment $environment, array $options = [] ) |
|
|
createDeployment ( ) : DNDeployment |
|
|
fromArray ( string $data ) |
Load from array. |
|
fromJSON ( string $json ) |
Load from JSON associative array. |
|
getActionCode ( ) : string |
|
|
getActionTitle ( ) : string |
|
|
getChange ( $key ) : ArrayData | null |
Returns a change or a given key. |
|
getChanges ( ) : array |
|
|
getChangesModificationNeeded ( ) : array |
Filter the changeset where modification was not required. |
|
getEstimatedTime ( ) : integer |
|
|
getMessages ( ) : array |
|
|
getOption ( string $option ) : string | null |
|
|
getOptions ( ) : string |
|
|
getValidationCode ( ) : string |
|
|
setActionCode ( $code ) |
|
|
setActionTitle ( string $title ) |
|
|
setChange ( string $title, string $from, string $to ) |
|
|
setChangeDescriptionOnly ( string $title, string $desc ) |
|
|
setChanges ( array $data ) |
|
|
setEstimatedTime ( $seconds ) |
|
|
setMessage ( string $msg, $code = self::ERROR_CODE ) |
|
|
setOption ( string $option, string $value ) |
|
|
setValidationCode ( string $code ) |
|
|
toArray ( ) : array |
Transform the deployment strategy to an array. |
|
toJSON ( ) : string |
|
|
updateDeployment ( integer $deploymentID ) : DNDeployment |
|
|