Interface BetaManagedAgentsTriggerContext.Visitor
-
- All Implemented Interfaces:
public interface BetaManagedAgentsTriggerContext.Visitor<T extends Object>An interface that defines how to map each variant of BetaManagedAgentsTriggerContext to a value of type T.
-
-
Method Summary
Modifier and Type Method Description abstract TvisitSchedule(BetaManagedAgentsScheduleTriggerContext schedule)The run was fired by the deployment's cron schedule. abstract TvisitManual(BetaManagedAgentsManualTriggerContext manual)The run was started manually by creating a session directly against the deployment. Tunknown(JsonValue json)Maps an unknown variant of BetaManagedAgentsTriggerContext to a value of type T. -
-
Method Detail
-
visitSchedule
abstract T visitSchedule(BetaManagedAgentsScheduleTriggerContext schedule)
The run was fired by the deployment's cron schedule.
-
visitManual
abstract T visitManual(BetaManagedAgentsManualTriggerContext manual)
The run was started manually by creating a session directly against the deployment.
-
unknown
T unknown(JsonValue json)
Maps an unknown variant of BetaManagedAgentsTriggerContext to a value of type T.
An instance of BetaManagedAgentsTriggerContext can contain an unknown variant if it was deserialized from data that doesn't match any known variant. For example, if the SDK is on an older version than the API, then the API may respond with new variants that the SDK is unaware of.
-
-
-
-