public class AuditUtils extends Object
| Constructor and Description |
|---|
AuditUtils() |
| Modifier and Type | Method and Description |
|---|---|
static org.jboss.downloads.overlord.sramp._2013.auditing.AuditItemType |
getAuditItem(org.jboss.downloads.overlord.sramp._2013.auditing.AuditEntry auditEntry,
String auditItemType)
Gets an audit item of the given type or null if one does not exist.
|
static org.jboss.downloads.overlord.sramp._2013.auditing.AuditItemType |
getOrCreateAuditItem(org.jboss.downloads.overlord.sramp._2013.auditing.AuditEntry auditEntry,
String auditItemType)
Gets an existing audit item or else creates a new one.
|
static void |
setAuditItemProperty(org.jboss.downloads.overlord.sramp._2013.auditing.AuditItemType auditItem,
String name,
String value)
Sets a property on the audit item.
|
public static org.jboss.downloads.overlord.sramp._2013.auditing.AuditItemType getAuditItem(org.jboss.downloads.overlord.sramp._2013.auditing.AuditEntry auditEntry,
String auditItemType)
auditEntry - propertyAdded - public static org.jboss.downloads.overlord.sramp._2013.auditing.AuditItemType getOrCreateAuditItem(org.jboss.downloads.overlord.sramp._2013.auditing.AuditEntry auditEntry,
String auditItemType)
auditEntry - auditItemType - Copyright © 2011-2014 JBoss, a division of Red Hat. All Rights Reserved.