com.netgrif.application.engine.event.events.user.AdminActionEvent Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of application-engine Show documentation
Show all versions of application-engine Show documentation
System provides workflow management functions including user, role and data management.
package com.netgrif.application.engine.event.events.user;
import com.netgrif.application.engine.auth.domain.LoggedUser;
import lombok.Data;
@Data
public class AdminActionEvent extends UserEvent {
private String code;
public AdminActionEvent(LoggedUser user, String code) {
super(user);
this.code = code;
}
@Override
public String getMessage() {
return "User " + user.getUsername() + " run following script: " + code;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy