Package org.alfresco.service.cmr.admin
Class RepoUsageStatus
- java.lang.Object
-
- org.alfresco.service.cmr.admin.RepoUsageStatus
-
public class RepoUsageStatus extends Object
Bean to carry Red/Amber/Green status messages- Since:
- V3.4 Team
- Author:
- Derek Hulley
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRepoUsageStatus.RepoUsageLevelEnumeration of usage levels
-
Constructor Summary
Constructors Constructor Description RepoUsageStatus(RepoUsage restrictions, RepoUsage usage, RepoUsageStatus.RepoUsageLevel level, List<String> warnings, List<String> errors)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>getErrors()RepoUsageStatus.RepoUsageLevelgetLevel()RepoUsagegetRestrictions()RepoUsagegetUsage()List<String>getWarnings()voidlogMessages(org.apache.commons.logging.Log logger)Log warnings and errors to the given loggerStringtoString()
-
-
-
Method Detail
-
logMessages
public void logMessages(org.apache.commons.logging.Log logger)
Log warnings and errors to the given logger
-
getRestrictions
public RepoUsage getRestrictions()
-
getUsage
public RepoUsage getUsage()
-
getLevel
public RepoUsageStatus.RepoUsageLevel getLevel()
- Returns:
- Returns the current warning level
-
-