| | |
| | | final String val = asString(taskEntry, ATTR_REBUILD_INDEX_CLEARDEGRADEDSTATE); |
| | | isClearDegradedState = Boolean.parseBoolean(val); |
| | | |
| | | AttributeType typeIndex = getSchema().getAttributeType(ATTR_REBUILD_INDEX); |
| | | AttributeType typeIndex = getInstance().getServerContext().getSchema().getAttributeType(ATTR_REBUILD_INDEX); |
| | | List<Attribute> attrList = taskEntry.getAllAttributes(typeIndex); |
| | | indexes = TaskUtils.getMultiValueString(attrList); |
| | | |
| | |
| | | |
| | | private String asString(Entry taskEntry, String attrName) |
| | | { |
| | | final AttributeType attrType = getSchema().getAttributeType(attrName); |
| | | final AttributeType attrType = getInstance().getServerContext().getSchema().getAttributeType(attrName); |
| | | final List<Attribute> attrList = taskEntry.getAllAttributes(attrType); |
| | | return TaskUtils.getSingleValueString(attrList); |
| | | } |