Record Class TaskExecutionResult.AwaitSignal
java.lang.Object
java.lang.Record
com.xebialabs.xlrelease.osgi.api.tasks.TaskExecutionResult.AwaitSignal
- All Implemented Interfaces:
TaskExecutionResult
- Enclosing interface:
TaskExecutionResult
public static record TaskExecutionResult.AwaitSignal()
extends Record
implements TaskExecutionResult
The task should be re-entered only when something external signals it.
No timer is scheduled. The task waits indefinitely until the release is aborted or
something resumes it - typically a webhook, an event, or an API call. If nothing ever
signals it, it waits forever: use TaskExecutionResult.suspendFor(Duration) if you need a deadline.
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.xebialabs.xlrelease.osgi.api.tasks.TaskExecutionResult
TaskExecutionResult.AwaitSignal, TaskExecutionResult.Completed, TaskExecutionResult.Failed, TaskExecutionResult.SuspendFor -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
AwaitSignal
public AwaitSignal()Creates an instance of aAwaitSignalrecord class.
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal.
-