Package org.alfresco.service.cmr.admin
Class RepoUsageStatus
java.lang.Object
org.alfresco.service.cmr.admin.RepoUsageStatus
Bean to carry Red/Amber/Green status messages
- Since:
- V3.4 Team
- Author:
- Derek Hulley
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumEnumeration of usage levels -
Constructor Summary
ConstructorsConstructorDescriptionRepoUsageStatus(RepoUsage restrictions, RepoUsage usage, RepoUsageStatus.RepoUsageLevel level, List<String> warnings, List<String> errors) -
Method Summary
Modifier and TypeMethodDescriptiongetLevel()getUsage()voidlogMessages(org.apache.commons.logging.Log logger) Log warnings and errors to the given loggertoString()
-
Constructor Details
-
RepoUsageStatus
-
-
Method Details
-
toString
-
logMessages
public void logMessages(org.apache.commons.logging.Log logger) Log warnings and errors to the given logger -
getRestrictions
-
getUsage
-
getLevel
- Returns:
- Returns the current warning level
-
getWarnings
- Returns:
- Returns any warnings generated
-
getErrors
- Returns:
- Returns any errors generated
-