com.github.nagyesta.lowkeyvault.service.key.KeyLifetimeAction Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of lowkey-vault-app Show documentation
Show all versions of lowkey-vault-app Show documentation
Assembled application of Lowkey Vault.
package com.github.nagyesta.lowkeyvault.service.key;
import com.github.nagyesta.lowkeyvault.model.v7_3.key.constants.LifetimeActionType;
import lombok.NonNull;
public record KeyLifetimeAction(LifetimeActionType actionType, LifetimeActionTrigger trigger) implements LifetimeAction {
public KeyLifetimeAction(@NonNull final LifetimeActionType actionType, @NonNull final LifetimeActionTrigger trigger) {
this.actionType = actionType;
this.trigger = trigger;
}
}