class urn_perun_facility_attribute_def_def_homeMountPoints extends FacilityAttributesModuleAbstract implements FacilityAttributesModuleImplApi {

	@Override
	public void checkAttributeSyntax(PerunSessionImpl perunSession, Facility facility, Attribute attribute) throws WrongAttributeValueException {

		if(attribute.getValue() == null) return;

		List<String> homeMountPoints = attribute.valueAsList();
		for (String st : homeMountPoints) {
			Matcher match = pattern.matcher(st);
			if (!match.matches()) throw new WrongAttributeValueException(attribute, "Bad homeMountPoints attribute format " + st);
		}
	}

}