public class AuditEvent extends Object implements MetadataFacet
Constructor and Description |
---|
AuditEvent() |
AuditEvent(String name,
String repositoryId) |
AuditEvent(String repoId,
String user,
String resource,
String action) |
Modifier and Type | Method and Description |
---|---|
private static SimpleDateFormat |
createNameFormat() |
boolean |
equals(Object o) |
void |
fromProperties(Map<String,String> properties) |
String |
getAction() |
String |
getFacetId() |
String |
getName() |
String |
getRemoteIP() |
String |
getRepositoryId() |
String |
getResource() |
Date |
getTimestamp() |
String |
getUserId() |
int |
hashCode() |
void |
setAction(String action) |
void |
setRemoteIP(String remoteIP) |
void |
setRepositoryId(String repositoryId) |
void |
setResource(String resource) |
void |
setTimestamp(Date timestamp) |
void |
setUserId(String userId) |
Map<String,String> |
toProperties() |
String |
toString() |
public static final String TIMESTAMP_FORMAT
public static final String CREATE_DIR
public static final String CREATE_FILE
public static final String REMOVE_DIR
public static final String REMOVE_FILE
public static final String MODIFY_FILE
public static final String MOVE_FILE
public static final String MOVE_DIRECTORY
public static final String COPY_DIRECTORY
public static final String COPY_FILE
public static final String UPLOAD_FILE
public static final String ADD_LEGACY_PATH
public static final String REMOVE_LEGACY_PATH
public static final String PURGE_ARTIFACT
public static final String PURGE_FILE
public static final String REMOVE_SCANNED
public static final String MERGING_REPOSITORIES
public static final String ADD_MANAGED_REPO
public static final String MODIFY_MANAGED_REPO
public static final String DELETE_MANAGED_REPO
public static final String ADD_REMOTE_REPO
public static final String MODIFY_REMOTE_REPO
public static final String DELETE_REMOTE_REPO
public static final String ADD_REPO_GROUP
public static final String DELETE_REPO_GROUP
public static final String MODIFY_REPO_GROUP
public static final String ADD_REPO_TO_GROUP
public static final String DELETE_REPO_FROM_GROUP
public static final String ENABLE_REPO_CONSUMER
public static final String DISABLE_REPO_CONSUMER
public static final String ADD_PATTERN
public static final String REMOVE_PATTERN
public static final String MERGE_REPO_REMOTE
public static final String ADD_PROXY_CONNECTOR
public static final String DELETE_PROXY_CONNECTOR
public static final String MODIFY_PROXY_CONNECTOR
public static final String ADD_NETWORK_PROXY
public static final String DELETE_NETWORK_PROXY
public static final String MODIFY_NETWORK_PROXY
private String repositoryId
public static final String FACET_ID
private static final TimeZone UTC_TIME_ZONE
private static final int TS_LENGTH
public AuditEvent()
public AuditEvent(String name, String repositoryId)
public AuditEvent(String repoId, String user, String resource, String action)
public String getRepositoryId()
public void setRepositoryId(String repositoryId)
public String getResource()
public void setResource(String resource)
public String getRemoteIP()
public void setRemoteIP(String remoteIP)
public Date getTimestamp()
public void setTimestamp(Date timestamp)
public String getFacetId()
getFacetId
in interface MetadataFacet
public String getName()
getName
in interface MetadataFacet
private static SimpleDateFormat createNameFormat()
public Map<String,String> toProperties()
toProperties
in interface MetadataFacet
public void fromProperties(Map<String,String> properties)
fromProperties
in interface MetadataFacet
Copyright © 2006–2023 The Apache Software Foundation. All rights reserved.