Interface RuleComponent
- All Known Subinterfaces:
ConditionalRuleComponent
- All Known Implementing Classes:
AddCustomerActionFactory, AddWorklogActionFactory, AffectedServicesConditionFactory, ArchiveActionFactory, AssignIssueActionFactory, AutoApproveActionFactory, BranchCreatedTriggerFactory, BranchTriggerFactory, CloneIssueActionFactory, CommentActionFactory, CommitCreatedTriggerFactory, ComparatorFactory, ConditionBlockFactory, CreateIssueActionFactory, CreateServiceDeskRequestActionFactory, CreateSubtasksActionFactory, CreateVariableActionFactory, CreateVersionActionFactory, DeleteActionFactory, DeleteAttachmentsActionFactory, DeleteCommentActionFactory, DeleteIssueLinkActionFactory, EditIssueActionFactory, ElseBlockFactory, FieldChangedTriggerFactory, HasAttachmentsConditionFactory, HipChatNotificationActionFactory, IfBlockFactory, IncomingWebhookTriggerFactory, IssueAssignedTriggerFactory, IssueCommentedTriggerFactory, IssueConditionFactory, IssueEventTriggerFactory, IssueLinkCreatedTriggerFactory, IssueLinkDeletedTriggerFactory, IssueMovedTriggerFactory, IssuePropertySetTriggerFactory, IssueTransitionedTriggerFactory, JqlConditionFactory, JqlScheduledTriggerFactory, LinkIssueActionFactory, LogActionFactory, LookupIssuesActionFactory, ManageWatcherActionFactory, ManualTriggerFactory, MicrosoftTeamsNotificationActionFactory, MultipleIssueEventTriggerFactory, OutgoingEmailActionFactory, OutgoingWebhookActionFactory, PluggableRuleComponent, PublishEventActionFactory, PullRequestCreatedTriggerFactory, PullRequestDeclinedTriggerFactory, PullRequestMergedTriggerFactory, RefreshIssueActionFactory, RelatedIssuesBranchFactory, RelatedIssuesConditionFactory, ReleaseVersionActionFactory, ServiceLimitBreachedTriggerFactory, SetEntityPropertyActionFactory, SimulationActionFactory, SimulationTriggerFactory, SlackNotificationActionFactory, SlaThresholdBreachedTriggerFactory, SprintClosedTriggerFactory, SprintCreatedTriggerFactory, SprintStartedTriggerFactory, StrideNotificationActionFactory, ThirdPartyRuleComponent, TransitionIssueActionFactory, TwilioNotificationActionFactory, UnknownRuleComponent, UnreleaseVersionActionFactory, UserConditionFactory, VersionCreatedTriggerFactory, VersionReleasedTriggerFactory, VersionUnreleasedTriggerFactory, VersionUpdatedTriggerFactory, WorkLoggedTriggerFactory
public interface RuleComponent
Factory that provides 'pluggable' rule components (could be actions or conditions) that
do the work of executing the main parts of an automation rule.
-
Method Summary
Modifier and TypeMethodDescriptiondefault Optional<BulkValidator> default Optional<ConfigTransform> The type class of the configuration type.default Optional<TemplateRendererContextProvider> Optionally return a TemplateRendererContextProvider that allows for extraThe worker for an automation rule.default Optional<RuleConfigBeanOptimiser> Optionally return an optimiser that can optimise all rule components of this type in a given rule config.default ComponentValidatorHelper used to validate inputs when configuring a rule component via the UI.
-
Method Details
-
getNameKey
String getNameKey()- Returns:
- an i18nizable key to print this component in the audit log
-
getExecutor
ComponentExecutor getExecutor()The worker for an automation rule. Actually performs the operation intended by this rule component. -
getConfigType
Class getConfigType()The type class of the configuration type. This aids serialization and deserialization to allow us to use reach configuration types. -
getValidator
Helper used to validate inputs when configuring a rule component via the UI. -
getOptimiser
Optionally return an optimiser that can optimise all rule components of this type in a given rule config. -
getCustomContextProvider
Optionally return a TemplateRendererContextProvider that allows for extra -
getConfigTransformer
-
createBulkValidator
-