Package io.jenkins.plugins.xygeni.model
Class SecurityEvent
- java.lang.Object
-
- io.jenkins.plugins.xygeni.model.XygeniEvent
-
- io.jenkins.plugins.xygeni.model.SecurityEvent
-
public class SecurityEvent extends XygeniEvent
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SecurityEvent.Action
-
Field Summary
Fields Modifier and Type Field Description static String
TYPE_CLASS
-
Constructor Summary
Constructors Constructor Description SecurityEvent(SecurityEvent.Action action)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SecurityEvent
from(String userName, String email, SecurityEvent.Action action)
static SecurityEvent
from(String userName, List<String> grantedAuthorities, SecurityEvent.Action action)
protected String
getAction()
protected String
getType()
-
Methods inherited from class io.jenkins.plugins.xygeni.model.XygeniEvent
setProperty, toJson, toString
-
-
-
-
Field Detail
-
TYPE_CLASS
public static final String TYPE_CLASS
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SecurityEvent
public SecurityEvent(SecurityEvent.Action action)
-
-
Method Detail
-
from
public static SecurityEvent from(String userName, String email, SecurityEvent.Action action)
-
from
public static SecurityEvent from(String userName, List<String> grantedAuthorities, SecurityEvent.Action action)
-
getType
protected String getType()
- Specified by:
getType
in classXygeniEvent
-
getAction
protected String getAction()
- Specified by:
getAction
in classXygeniEvent
-
-