| | |
| | | getRotationPolicies(ConfigEntry configEntry) |
| | | throws ConfigException |
| | | { |
| | | |
| | | HashSet<String> allowedValues = new HashSet<String>(); |
| | | allowedValues.add("size"); |
| | | allowedValues.add("timeofday"); |
| | |
| | | getRetentionPolicies(ConfigEntry configEntry) |
| | | throws ConfigException |
| | | { |
| | | |
| | | StringConfigAttribute logFileStub = |
| | | new StringConfigAttribute(ATTR_LOGGER_FILE, |
| | | getMessage(MSGID_CONFIG_LOGGER_DESCRIPTION_CLASS_NAME), |
| | |
| | | getPostRotationActions(ConfigEntry configEntry) |
| | | throws ConfigException |
| | | { |
| | | |
| | | ArrayList<ActionType> actions = new ArrayList<ActionType>(); |
| | | |
| | | StringConfigAttribute rotationActionStub = |
| | |
| | | public static int getIntegerAttribute(ConfigEntry configEntry, |
| | | String attrName, int msgID) throws ConfigException |
| | | { |
| | | |
| | | int value = -1; |
| | | |
| | | IntegerConfigAttribute attrStub = |