class EventType implements HeaderProcessor

Constants

HEADER_NAME

PUSH_VALUE

TAG_VALUE

ISSUE_VALUE

COMMENT_VALUE

MERGE_REQUEST_VALUE

WIKI_VALUE

PIPELINE_VALUE

BUILD_VALUE

JOB_VALUE

Methods

bool|void
verify(bool $failSilent = false)

Verify header

string
getHeaderValue()

No description

bool
isHeaderPresent()

No description

Details

at line 33
bool|void verify(bool $failSilent = false)

Verify header

Parameters

bool $failSilent Verify via boolean (true) or via exception (false)

Return Value

bool|void Based on failSilent method returns void or an boolean of the result

Exceptions

EventTypeMissingException

at line 100
string getHeaderValue()

Return Value

string Get value sent with header

at line 108
bool isHeaderPresent()

Return Value

bool Header is present (true) or not (false)