PHP Class DNCommit

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

Protected Properties

Свойство Type Description
$bodyMessage string
$buildname string
$commit Gitonomy\Git\Commit
$data DNData
$name
$ownerBranchName string
$project DNProject
$references
$subjectMessage string

Méthodes publiques

Méthode Description
BodyMessage ( )
Created ( ) : SS_Datetime
CurrentlyDeployedTo ( ) : ArrayList
EverDeployedTo ( string $environmentName ) : boolean
Filename ( ) : string
FullName ( ) : string
Name ( ) : string Return the hash of the commit, used to name this commit.
References ( ) : ArrayList
SHA ( ) : string Return the full SHA of the commit.
SubjectMessage ( ) : string Return the first line of the commit message.
__construct ( Gitonomy\Git\Commit $commit, DNProject $project, DNData $data, string | null $ownerBranchName = null )

Method Details

BodyMessage() public méthode

public BodyMessage ( )

Created() public méthode

public Created ( ) : SS_Datetime
Résultat SS_Datetime

CurrentlyDeployedTo() public méthode

public CurrentlyDeployedTo ( ) : ArrayList
Résultat ArrayList

EverDeployedTo() public méthode

public EverDeployedTo ( string $environmentName ) : boolean
$environmentName string
Résultat boolean True if this release has ever been deployed to the given environment

Filename() public méthode

public Filename ( ) : string
Résultat string

FullName() public méthode

public FullName ( ) : string
Résultat string

Name() public méthode

Return the hash of the commit, used to name this commit.
public Name ( ) : string
Résultat string

References() public méthode

public References ( ) : ArrayList
Résultat ArrayList

SHA() public méthode

Return the full SHA of the commit.
public SHA ( ) : string
Résultat string

SubjectMessage() public méthode

Return the first line of the commit message.
public SubjectMessage ( ) : string
Résultat string

__construct() public méthode

public __construct ( Gitonomy\Git\Commit $commit, DNProject $project, DNData $data, string | null $ownerBranchName = null )
$commit Gitonomy\Git\Commit
$project DNProject
$data DNData
$ownerBranchName string | null

Property Details

$bodyMessage protected_oe property

protected string $bodyMessage
Résultat string

$buildname protected_oe property

protected string $buildname
Résultat string

$commit protected_oe property

protected Gitonomy\Git\Commit $commit
Résultat Gitonomy\Git\Commit

$data protected_oe property

protected DNData $data
Résultat DNData

$name protected_oe property

protected $name

$ownerBranchName protected_oe property

protected string $ownerBranchName
Résultat string

$project protected_oe property

protected DNProject $project
Résultat DNProject

$references protected_oe property

protected $references

$subjectMessage protected_oe property

protected string $subjectMessage
Résultat string