Class StoredEffect

Object
StoredEffect

@PublicApi public final class StoredEffect extends Object
A description of an effect that can be stored in the database or passed over the wire. Contains an effect provider module key and implementation-specific parameters.
  • Constructor Details

  • Method Details

    • getModuleKey

      @NotNull public String getModuleKey()
      The complete module key of the EffectProvider responsible for converting this effect description to an actual Effect.
    • getParameters

      @NotNull public Map<String,Object> getParameters()
      Provider-specific parameters, e.g. an issue ID, a field ID, and a value.
    • builder

      @NotNull public static StoredEffect.Builder builder(@NotNull String moduleKey)
      Returns a new builder with the given module key.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object