class urn_perun_resource_attribute_def_def_defaultHomeMountPoint extends ResourceAttributesModuleAbstract implements ResourceAttributesModuleImplApi {

	@Override
	public void checkAttributeSyntax(PerunSessionImpl perunSession, Resource resource, Attribute attribute) throws WrongAttributeValueException {
		if (attribute.getValue() == null) return;

		Matcher match = pattern.matcher(attribute.valueAsString());
		if (!match.matches()) {
			throw new WrongAttributeValueException(attribute, "Wrong def. mount point format");
		}
	}

}