mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Java doc tidy up in auditing and scheduled actions
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5295 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -43,8 +43,37 @@ import org.alfresco.repo.audit.model.AuditModelException;
|
||||
*/
|
||||
public enum AuditMode
|
||||
{
|
||||
ALL, SUCCESS, FAIL, NONE, UNSET;
|
||||
/**
|
||||
* All
|
||||
*/
|
||||
ALL,
|
||||
|
||||
/**
|
||||
* Only success
|
||||
*/
|
||||
SUCCESS,
|
||||
|
||||
/**
|
||||
* Only exceptions/failures
|
||||
*/
|
||||
FAIL,
|
||||
|
||||
/**
|
||||
* Nothing
|
||||
*/
|
||||
NONE,
|
||||
|
||||
/**
|
||||
* Don't know
|
||||
*/
|
||||
UNSET;
|
||||
|
||||
/**
|
||||
* Parse the audit mode from a string
|
||||
*
|
||||
* @param value
|
||||
* @return - the audit mode.
|
||||
*/
|
||||
public static AuditMode getAuditMode(String value)
|
||||
{
|
||||
if(value.equalsIgnoreCase("all"))
|
||||
|
Reference in New Issue
Block a user