PHP Class DNCreateEnvironment

Inheritance: extends DataObject
Afficher le fichier Open project: silverstripe/deploynaut Class Usage Examples

Méthodes publiques

Méthode Description
Link ( ) : string
LogContent ( )
LogLink ( ) : string
Name ( ) : string
ResqueStatus ( ) : string Returns the status of the resque job
canView ( $member = null ) : boolean
createEnvironment ( )
getBackend ( ) : EnvironmentCreateBackend | null Fetches the EnvironmentCreateBackend based on the EnvironmentType saved to this job.
log ( ) : DeploynautLogFile
map_resque_status ( integer $int ) : string
start ( )

Méthodes protégées

Méthode Description
enqueueCreation ( ) : string Start a resque job for this creation.
logfile ( ) : string Return a path to the log file.

Method Details

LogContent() public méthode

public LogContent ( )

Name() public méthode

public Name ( ) : string
Résultat string

ResqueStatus() public méthode

Returns the status of the resque job
public ResqueStatus ( ) : string
Résultat string

canView() public méthode

public canView ( $member = null ) : boolean
Résultat boolean

createEnvironment() public méthode

public createEnvironment ( )

enqueueCreation() protected méthode

Start a resque job for this creation.
protected enqueueCreation ( ) : string
Résultat string Resque token

getBackend() public méthode

Fetches the EnvironmentCreateBackend based on the EnvironmentType saved to this job.
public getBackend ( ) : EnvironmentCreateBackend | null
Résultat EnvironmentCreateBackend | null

log() public méthode

public log ( ) : DeploynautLogFile
Résultat DeploynautLogFile

logfile() protected méthode

Return a path to the log file.
protected logfile ( ) : string
Résultat string

map_resque_status() public static méthode

public static map_resque_status ( integer $int ) : string
$int integer
Résultat string

start() public méthode

public start ( )