StartActivityOptions
extends Options
in package
FinalYes
Tags
Table of Contents
Properties
- $heartbeatTimeout : DateInterval
- $id : string
- $idConflictPolicy : ActivityIdConflictPolicy
- $idReusePolicy : ActivityIdReusePolicy
- $priority : Priority
- $retryOptions : RetryOptions|null
- $scheduleToCloseTimeout : DateInterval
- $scheduleToStartTimeout : DateInterval
- $startDelay : DateInterval
- $startToCloseTimeout : DateInterval
- $staticDetails : string
- $staticSummary : string
- $taskQueue : string
- $typedSearchAttributes : TypedSearchAttributes|null
Methods
- __construct() : mixed
- withHeartbeatTimeout() : self
- withId() : self
- withIdConflictPolicy() : self
- withIdReusePolicy() : self
- withPriority() : self
- withRetryOptions() : self
- withScheduleToCloseTimeout() : self
- withScheduleToStartTimeout() : self
- withStartDelay() : self
- withStartToCloseTimeout() : self
- withStaticDetails() : self
- withStaticSummary() : self
- withTaskQueue() : self
- withTypedSearchAttributes() : self
- parseInterval() : DateInterval
Properties
$heartbeatTimeout
public
DateInterval
$heartbeatTimeout
$id
public
string
$id
= ''
$idConflictPolicy
public
ActivityIdConflictPolicy
$idConflictPolicy
= \Temporal\Common\ActivityIdConflictPolicy::Unspecified
$idReusePolicy
public
ActivityIdReusePolicy
$idReusePolicy
= \Temporal\Common\ActivityIdReusePolicy::Unspecified
$priority
public
Priority
$priority
$retryOptions
public
RetryOptions|null
$retryOptions
= null
$scheduleToCloseTimeout
public
DateInterval
$scheduleToCloseTimeout
$scheduleToStartTimeout
public
DateInterval
$scheduleToStartTimeout
$startDelay
public
DateInterval
$startDelay
$startToCloseTimeout
public
DateInterval
$startToCloseTimeout
$staticDetails
public
string
$staticDetails
= ''
$staticSummary
public
string
$staticSummary
= ''
$taskQueue
public
string
$taskQueue
= ''
$typedSearchAttributes
public
TypedSearchAttributes|null
$typedSearchAttributes
= null
Methods
__construct()
public
__construct() : mixed
withHeartbeatTimeout()
public
withHeartbeatTimeout(DateIntervalValue $timeout) : self
Parameters
- $timeout : DateIntervalValue
Tags
Attributes
- #[Pure]
Return values
selfwithId()
public
withId(non-empty-string $id) : self
Parameters
- $id : non-empty-string
Attributes
- #[Pure]
Return values
selfwithIdConflictPolicy()
public
withIdConflictPolicy(ActivityIdConflictPolicy $policy) : self
Parameters
- $policy : ActivityIdConflictPolicy
Attributes
- #[Pure]
Return values
selfwithIdReusePolicy()
public
withIdReusePolicy(ActivityIdReusePolicy $policy) : self
Parameters
- $policy : ActivityIdReusePolicy
Attributes
- #[Pure]
Return values
selfwithPriority()
public
withPriority(Priority $priority) : self
Parameters
- $priority : Priority
Attributes
- #[Pure]
Return values
selfwithRetryOptions()
public
withRetryOptions(RetryOptions|null $options) : self
Parameters
- $options : RetryOptions|null
Attributes
- #[Pure]
Return values
selfwithScheduleToCloseTimeout()
public
withScheduleToCloseTimeout(DateIntervalValue $timeout) : self
Parameters
- $timeout : DateIntervalValue
Tags
Attributes
- #[Pure]
Return values
selfwithScheduleToStartTimeout()
public
withScheduleToStartTimeout(DateIntervalValue $timeout) : self
Parameters
- $timeout : DateIntervalValue
Tags
Attributes
- #[Pure]
Return values
selfwithStartDelay()
public
withStartDelay(DateIntervalValue $delay) : self
Parameters
- $delay : DateIntervalValue
Tags
Attributes
- #[Pure]
Return values
selfwithStartToCloseTimeout()
public
withStartToCloseTimeout(DateIntervalValue $timeout) : self
Parameters
- $timeout : DateIntervalValue
Tags
Attributes
- #[Pure]
Return values
selfwithStaticDetails()
public
withStaticDetails(string $details) : self
Parameters
- $details : string
Attributes
- #[Pure]
Return values
selfwithStaticSummary()
public
withStaticSummary(string $summary) : self
Parameters
- $summary : string
Attributes
- #[Pure]
Return values
selfwithTaskQueue()
public
withTaskQueue(non-empty-string $taskQueue) : self
Parameters
- $taskQueue : non-empty-string
Attributes
- #[Pure]
Return values
selfwithTypedSearchAttributes()
public
withTypedSearchAttributes(TypedSearchAttributes $attributes) : self
Parameters
- $attributes : TypedSearchAttributes
Attributes
- #[Pure]
Return values
selfparseInterval()
private
static parseInterval(DateIntervalValue $interval) : DateInterval
Parameters
- $interval : DateIntervalValue