public class AuditLoggerName extends Object implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
AuditLoggerName.Builder |
Constructor and Description |
---|
AuditLoggerName() |
public static String getAuditEventLoggerName(String domain, String loggerName)
public static AuditLoggerName fromLoggerName(String loggerName) throws ParseException
ParseException
public static Pair<EventCategory,AuditElements.Result> parseEventCategory(String event)
public static String buildEvent(AuditElements.EventCategoryType type, String category, String subcategory, String event, AuditElements.Result condition)
type
- event type.category
- event category.subcategory
- event subcategory.event
- event.condition
- result value condition.public AuditElements.EventCategoryType getType()
public void setType(AuditElements.EventCategoryType type)
public String getCategory()
public void setCategory(String category)
public String getSubcategory()
public void setSubcategory(String subcategory)
public String getEvent()
public void setEvent(String event)
public AuditElements.Result getResult()
public void setResult(AuditElements.Result result)
public String toLoggerName()
Copyright © 2010–2023 The Apache Software Foundation. All rights reserved.