class urn_perun_facility_attribute_def_def_shells extends FacilityAttributesModuleAbstract implements FacilityAttributesModuleImplApi {

	@Override
	public void checkAttributeSyntax(PerunSessionImpl perunSession, Facility facility, Attribute attribute) throws WrongAttributeValueException {
		List<String> shells = attribute.valueAsList();

		if (shells == null) return;

		for (String st : shells) {
			perunSession.getPerunBl().getModulesUtilsBl().checkFormatOfShell(st, attribute);
		}
	}

}