Package | Description |
---|---|
com.almworks.jira.structure.api.effect | |
com.almworks.jira.structure.api.effector | |
com.almworks.jira.structure.api.effector.process |
Modifier and Type | Method and Description |
---|---|
static StoredEffect |
CoreEffects.addCustomFieldGroups(Issue issue,
CustomField customField,
Collection<Group> groups)
Returns a description of an effect that would add the given groups to a multi group custom field.
|
static StoredEffect |
CoreEffects.addCustomFieldLabels(Issue issue,
CustomField customField,
Collection<String> labels)
Returns a description of an effect that would add the given labels to a labels custom field.
|
static StoredEffect |
CoreEffects.addCustomFieldOptions(Issue issue,
CustomField customField,
Collection<Option> options)
Returns a description of an effect that would add the given options to a multi select custom field.
|
static StoredEffect |
CoreEffects.addCustomFieldUsers(Issue issue,
CustomField customField,
Collection<ApplicationUser> users)
Returns a description of an effect that would add the given users to a multi user custom field.
|
static StoredEffect |
CoreEffects.addCustomFieldVersions(Issue issue,
CustomField customField,
Collection<Version> versions)
Returns a description of an effect that would add the given versions to a multi version custom field.
|
static StoredEffect |
CoreEffects.addIssueAffectedVersions(Issue issue,
Collection<Version> versions)
Returns a description of an effect that would add affected versions to the issue.
|
static StoredEffect |
CoreEffects.addIssueComment(Issue issue,
String commentBody)
Returns a description of an effect that would add a comment.
|
static StoredEffect |
CoreEffects.addIssueComponents(Issue issue,
Collection<ProjectComponent> components)
Returns a description of an effect that would add components to the issue.
|
static StoredEffect |
CoreEffects.addIssueFixVersions(Issue issue,
Collection<Version> versions)
Returns a description of an effect that would add fix versions to the issue.
|
static StoredEffect |
CoreEffects.addIssueLabels(Issue issue,
Collection<String> labels)
Returns a description of an effect that would add labels to the issue.
|
StoredEffect |
Effect.apply()
Performs the actual changes in the state of the world.
|
static StoredEffect |
CoreEffects.assignIssue(Issue issue,
ApplicationUser assignee)
Returns a description of an effect that would assign an issue to the given user.
|
StoredEffect |
StoredEffect.Builder.build()
Creates and returns a new
StoredEffect instance with the
module key and parameters from this builder. |
static StoredEffect |
CoreEffects.deleteIssueComment(Issue issue,
Comment comment)
Returns a description of an effect that would delete a comment.
|
static StoredEffect |
CoreEffects.emitWarning(I18nText i18nText,
List<ItemIdentity> itemIdentities)
Returns a description of an effect that can't be deserialized successfully but used to describe a specific problem.
|
static StoredEffect |
CoreEffects.removeCustomFieldGroups(Issue issue,
CustomField customField,
Collection<Group> groups)
Returns a description of an effect that would remove the given groups from a multi group custom field.
|
static StoredEffect |
CoreEffects.removeCustomFieldLabels(Issue issue,
CustomField customField,
Collection<String> labels)
Returns a description of an effect that would remove the given labels from a labels custom field.
|
static StoredEffect |
CoreEffects.removeCustomFieldOptions(Issue issue,
CustomField customField,
Collection<Option> options)
Returns a description of an effect that would remove the given options from a multi select custom field.
|
static StoredEffect |
CoreEffects.removeCustomFieldUsers(Issue issue,
CustomField customField,
Collection<ApplicationUser> users)
Returns a description of an effect that would remove the given users from a multi user custom field.
|
static StoredEffect |
CoreEffects.removeCustomFieldVersions(Issue issue,
CustomField customField,
Collection<Version> versions)
Returns a description of an effect that would remove the given versions from a multi version custom field.
|
static StoredEffect |
CoreEffects.removeIssueAffectedVersions(Issue issue,
Collection<Version> versions)
Returns a description of an effect that would remove affected versions from the issue.
|
static StoredEffect |
CoreEffects.removeIssueComponents(Issue issue,
Collection<ProjectComponent> components)
Returns a description of an effect that would remove components from the issue.
|
static StoredEffect |
CoreEffects.removeIssueFixVersions(Issue issue,
Collection<Version> versions)
Returns a description of an effect that would remove fix versions from the issue.
|
static StoredEffect |
CoreEffects.removeIssueLabels(Issue issue,
Collection<String> labels)
Returns a description of an effect that would remove labels from the issue.
|
static StoredEffect |
CoreEffects.setCascadeCustomField(Issue issue,
CustomField customField,
Option value)
Returns a description of an effect that would set a cascading select custom
field to the given option.
|
static StoredEffect |
CoreEffects.setCustomFieldGroups(Issue issue,
CustomField customField,
Collection<Group> groups)
Returns a description of an effect that would set a multi group custom
field to the given groups.
|
static StoredEffect |
CoreEffects.setCustomFieldLabels(Issue issue,
CustomField customField,
Collection<String> labels)
Returns a description of an effect that would set a labels custom
field to the given labels.
|
static StoredEffect |
CoreEffects.setCustomFieldOptions(Issue issue,
CustomField customField,
Collection<Option> options)
Returns a description of an effect that would set a multi select custom
field to the given options.
|
static StoredEffect |
CoreEffects.setCustomFieldUsers(Issue issue,
CustomField customField,
Collection<ApplicationUser> users)
Returns a description of an effect that would set a multi user custom
field to the given users.
|
static StoredEffect |
CoreEffects.setCustomFieldVersions(Issue issue,
CustomField customField,
Collection<Version> versions)
Returns a description of an effect that would set a multi version custom
field to the given versions.
|
static StoredEffect |
CoreEffects.setDateCustomField(Issue issue,
CustomField customField,
Date value)
Returns a description of an effect that would set a date custom
field to the given value.
|
static StoredEffect |
CoreEffects.setDateTimeCustomField(Issue issue,
CustomField customField,
Date value)
Returns a description of an effect that would set a date time custom
field to the given value.
|
static StoredEffect |
CoreEffects.setIssueAffectedVersions(Issue issue,
Collection<Version> versions)
Returns a description of an effect that would replace issue affected versions with the given values.
|
static StoredEffect |
CoreEffects.setIssueComponents(Issue issue,
Collection<ProjectComponent> components)
Returns a description of an effect that would replace issue components with the given values.
|
static StoredEffect |
CoreEffects.setIssueDescription(Issue issue,
String description)
Returns a description of an effect that would change an issue Description field to the given value.
|
static StoredEffect |
CoreEffects.setIssueDueDate(Issue issue,
Date date)
Returns a description of an effect that would change an issue due date to the given value.
|
static StoredEffect |
CoreEffects.setIssueEnvironment(Issue issue,
String environment)
Returns a description of an effect that would change an issue Environment field to the given value.
|
static StoredEffect |
CoreEffects.setIssueFixVersions(Issue issue,
Collection<Version> versions)
Returns a description of an effect that would replace issue fix versions with the given values.
|
static StoredEffect |
CoreEffects.setIssueLabels(Issue issue,
Collection<String> labels)
Returns a description of an effect that would replace issue labels with the given values.
|
static StoredEffect |
CoreEffects.setIssuePriority(Issue issue,
Priority priority)
Returns a description of an effect that would change an issue priority to the given value.
|
static StoredEffect |
CoreEffects.setIssueReporter(Issue issue,
ApplicationUser reporter)
Returns a description of an effect that would set an issue reporter to the given user.
|
static StoredEffect |
CoreEffects.setIssueResolution(Issue issue,
Resolution resolution)
Returns a description of an effect that would change an issue Resolution field to the given value.
|
static StoredEffect |
CoreEffects.setIssueResolutionDate(Issue issue,
Date date)
Deprecated.
The "Resolved" field in Jira is not editable, and this method
should not be used. There is no corresponding effect provider in Structure.
|
static StoredEffect |
CoreEffects.setIssueStatus(Issue issue,
Status status)
Returns a description of an effect that would transition an issue to the given
status.
|
static StoredEffect |
CoreEffects.setIssueSummary(Issue issue,
String summary)
Returns a description of an effect that would change an issue summary to the given value.
|
static StoredEffect |
CoreEffects.setNumberCustomField(Issue issue,
CustomField customField,
Number value)
Returns a description of an effect that would set a number custom
field to the given value.
|
static StoredEffect |
CoreEffects.setOriginalEstimate(Issue issue,
Long originalEstimate)
Returns a description of an effect that would change an issue original estimate to the given value.
|
static StoredEffect |
CoreEffects.setProjectPickerCustomField(Issue issue,
CustomField customField,
Project value)
Returns a description of an effect that would set a project picker custom
field to the given value.
|
static StoredEffect |
CoreEffects.setRemainingEstimate(Issue issue,
Long remainingEstimate)
Returns a description of an effect that would change an issue remaining estimate to the given value.
|
static StoredEffect |
CoreEffects.setSingleGroupCustomField(Issue issue,
CustomField customField,
Group value)
Returns a description of an effect that would set a single group custom
field to the given value.
|
static StoredEffect |
CoreEffects.setSingleSelectCustomField(Issue issue,
CustomField customField,
Option value)
Returns a description of an effect that would set a single select custom
field to the given option.
|
static StoredEffect |
CoreEffects.setSingleUserCustomField(Issue issue,
CustomField customField,
ApplicationUser value)
Returns a description of an effect that would set a single user custom
field to the given value.
|
static StoredEffect |
CoreEffects.setSingleVersionCustomField(Issue issue,
CustomField customField,
Version value)
Returns a description of an effect that would set a single version custom
field to the given value.
|
static StoredEffect |
CoreEffects.setSprint(Issue issue,
Long sprintId)
Returns a description of an effect that would move an issue to the sprint with the given id.
|
static StoredEffect |
CoreEffects.setTextCustomField(Issue issue,
CustomField customField,
String value)
Returns a description of an effect that would set a text custom
field to the given value.
|
Modifier and Type | Method and Description |
---|---|
default List<StoredEffect> |
EffectProvider.optimize(List<StoredEffect> effects)
Attempts to reduce effect application time by optimizing the given effects collection.
|
Modifier and Type | Method and Description |
---|---|
EffectResponse |
EffectProvider.resolve(StoredEffect effect)
Converts an effect description to an actual effect implementation,
if possible.
|
Modifier and Type | Method and Description |
---|---|
default List<StoredEffect> |
EffectProvider.optimize(List<StoredEffect> effects)
Attempts to reduce effect application time by optimizing the given effects collection.
|
Constructor and Description |
---|
Builder(StoredEffect storedEffect)
Creates a new builder with the module key and parameters taken
from the given effect description.
|
Modifier and Type | Method and Description |
---|---|
void |
EffectCollector.addEffect(StoredEffect effect)
Adds a new effect description to the effector output.
|
Modifier and Type | Method and Description |
---|---|
StoredEffect |
EffectRecord.getUndoEffect() |
Modifier and Type | Method and Description |
---|---|
List<StoredEffect> |
EffectorPreview.getPreviewEffects()
Returns a list of effects that will be applied in case of the user confirmation.
|
Copyright © 2024 Tempo Software. All Rights Reserved.