com.obsidiandynamics.blackstrom.handler.Groupable Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of blackstrom-core Show documentation
Show all versions of blackstrom-core Show documentation
Transactional event fabric for the JVM
The newest version!
package com.obsidiandynamics.blackstrom.handler;
@FunctionalInterface
public interface Groupable {
String getGroupId();
interface ClassGroup extends Groupable {
@Override
default String getGroupId() {
return getClass().getSimpleName();
}
}
interface NullGroup extends Groupable {
@Override
default String getGroupId() {
return null;
}
}
}