-
@Beta() public interface TriggerThe originating cause of a pipeline's execution, including associated metadata.
-
-
Method Summary
Modifier and Type Method Description abstract StringgetType()abstract StringgetCorrelationId()abstract StringgetUser()abstract Map<String, Object>getParameters()abstract List<Artifact>getArtifacts()abstract List<Map<String, Object>>getNotifications()abstract booleanisRebake()abstract voidsetRebake(boolean rebake)abstract booleanisDryRun()abstract voidsetDryRun(boolean dryRun)abstract booleanisStrategy()abstract voidsetStrategy(boolean strategy)abstract List<ExpectedArtifact>getResolvedExpectedArtifacts()abstract voidsetResolvedExpectedArtifacts(List<ExpectedArtifact> resolvedExpectedArtifacts)abstract Map<String, Object>getOther()Internal. abstract voidsetOther(Map<String, Object> other)Internal. abstract voidsetOther(String key, Object value)Internal. -
-
Method Detail
-
getCorrelationId
@Nullable() abstract String getCorrelationId()
-
getParameters
@Nonnull() abstract Map<String, Object> getParameters()
-
getArtifacts
@Nonnull() abstract List<Artifact> getArtifacts()
-
isRebake
abstract boolean isRebake()
-
setRebake
abstract void setRebake(boolean rebake)
-
isDryRun
abstract boolean isDryRun()
-
setDryRun
abstract void setDryRun(boolean dryRun)
-
isStrategy
abstract boolean isStrategy()
-
setStrategy
abstract void setStrategy(boolean strategy)
-
getResolvedExpectedArtifacts
@Nonnull() abstract List<ExpectedArtifact> getResolvedExpectedArtifacts()
-
setResolvedExpectedArtifacts
abstract void setResolvedExpectedArtifacts(List<ExpectedArtifact> resolvedExpectedArtifacts)
-
getOther
@Nonnull() abstract Map<String, Object> getOther()
Internal. Used for serialization/deserialization.
-
setOther
abstract void setOther(Map<String, Object> other)
Internal. Used for serialization/deserialization.
-
-
-
-