/** * Allows you to register an issue against a project. The issue id's are made available via the * {@link BackupProject#getIssueIds()} method. * * @param issue which has its id and project set. We should be able to convert the issue id to a long. */ @Internal void addIssue(ExternalIssue issue);
/** * Holds hint data. Currently only the text of a hint, might be extended * in the future. * * @since v4.2 (Interface extracted from class in v5.0) */ @PublicApi public interface Hint { String getText(); String getTooltip(); }
/** * Marker interface for all entity property deleted events. * @since v6.2 */ @ExperimentalApi public interface EntityPropertyDeletedEvent { }
/** * Interface for extractors adding fields based on issues * @since 6.2 */ @ExperimentalSpi public interface IssueSearchExtractor extends EntitySearchExtractor<Issue> { }
/** * Registers the JIRA build number with this object. * * @param buildNumber the build number as contained in the JIRA backup. */ @Internal void setBuildNumber(String buildNumber);
/** * This interface should be implemented by events that are related to the Issue. * * @since v5.2.6 */ @PublicApi public interface IssueRelatedEvent extends JiraEvent { Issue getIssue(); }
@ExperimentalApi public static class IsValidIssueKeyPredicate implements Predicate<String> { @Override public boolean apply(final String issueKey) { return IssueKey.isValidKey(issueKey); } } }
/** * Registers the JIRA edition with this object. * * @param edition the edition as contained in the JIRA backup. */ @Internal void setEdition(String edition);
@PublicApi interface VersionAction { boolean isSwap(); Long getSwapVersionId(); }
@ExperimentalApi class PropertyResult extends PropertyServiceResult { public PropertyResult(ErrorCollection errorCollection, Option<EntityProperty> entityProperty) { super(errorCollection, entityProperty); } }
/** * Registers a portion of a projects custom field configuration so that the builder can collate this with the * {@link #addFieldConfigSchemeIssueType(FieldConfigSchemeIssueType)} * and {@link #addExternalCustomField(com.atlassian.jira.external.beans.ExternalCustomField)} data to produce a * project relevant custom field configuration. * * @param configuration is the configuration represented in the backup XML. */ @Internal void addConfigurationContext(final ConfigurationContext configuration);
@ExperimentalApi public boolean isKeyChanged() { return keyChanged; }
/** * Persist this issue's immediate fields. * This is for internal usage only. * * @deprecated Use the Object's Service or Manager to save values. Since v5.0. */ @Internal void store(); }
@ExperimentalApi public class StringApplicationPropertySetEvent extends AbstractApplicationPropertySetEvent<String> { public StringApplicationPropertySetEvent(final String applicationPropertyKey, final String value) { super(applicationPropertyKey, value); } }
@Internal public AbstractProjectResult(ErrorCollection errorCollection) { super(errorCollection); }
/** * Retrieves the {@link Issue} that has the given key, or null if no such Issue exists. * <p/> * This method will strictly only return the issue which has current issue key equal to the one given. * * @param key The Issue key. * @return a {@link MutableIssue} with the given key, or null if no such Issue exists. * @throws DataAccessException if there is an error in the Data Access Layer. * @since 6.1 */ @ExperimentalApi MutableIssue getIssueByCurrentKey(String key) throws DataAccessException;
@Internal public ChangeHistoryPropertyDeletedEvent(final EntityProperty entityProperty, final ApplicationUser user) { super(entityProperty, user); } }
@Internal public ProjectComponentDeletedEvent(ProjectComponent projectComponent) { super(projectComponent); } }
@Internal public CreateValidationResult(final MutableIssue issue, final ErrorCollection errors, final Map<String, Object> fieldValuesHolder) { super(issue, errors); this.fieldValuesHolder = fieldValuesHolder; }
@Internal public IssueValidationResult(final MutableIssue issue, final ErrorCollection errors) { super(errors); this.issue = issue; }