com.almworks.jira.structure.api.effectbatch.EffectService Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of structure-api Show documentation
Show all versions of structure-api Show documentation
Public API for the Structure Plugin for JIRA
The newest version!
package com.almworks.jira.structure.api.effectbatch;
import com.atlassian.annotations.Internal;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
// there really cannot be any other EffectService rather than InMemoryEffectService because
// batches have mutable state
@Internal
public interface EffectService {
long recordBatch(@NotNull EffectBatch batch);
@Nullable EffectBatch loadBatch(long batchId);
}