Class urn_perun_facility_attribute_def_def_homeDirUmask
java.lang.Object
cz.metacentrum.perun.core.implApi.modules.attributes.AttributesModuleAbstract
cz.metacentrum.perun.core.implApi.modules.attributes.FacilityAttributesModuleAbstract
cz.metacentrum.perun.core.impl.modules.attributes.urn_perun_facility_attribute_def_def_homeDirUmask
- All Implemented Interfaces:
AttributesModuleImplApi
,FacilityAttributesModuleImplApi
public class urn_perun_facility_attribute_def_def_homeDirUmask
extends FacilityAttributesModuleAbstract
implements FacilityAttributesModuleImplApi
Checks if the value is valid unix permission mask.
- Author:
- Vojtech Sassmann invalid input: '<'vojtech.sassmann@gmail.com>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
checkAttributeSyntax
(PerunSessionImpl perunSession, Facility facility, Attribute attribute) Method for checking permission mask of home directory.Return attributes definition which is represented by the moduleMethods inherited from class cz.metacentrum.perun.core.implApi.modules.attributes.FacilityAttributesModuleAbstract
changedAttributeHook, checkAttributeSemantics, fillAttribute
Methods inherited from class cz.metacentrum.perun.core.implApi.modules.attributes.AttributesModuleAbstract
getAuthorizedRoles, getDependencies, resolveVirtualAttributeValueChange
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface cz.metacentrum.perun.core.implApi.modules.attributes.AttributesModuleImplApi
getAuthorizedRoles, getDependencies, resolveVirtualAttributeValueChange
Methods inherited from interface cz.metacentrum.perun.core.implApi.modules.attributes.FacilityAttributesModuleImplApi
changedAttributeHook, checkAttributeSemantics, fillAttribute
-
Constructor Details
-
urn_perun_facility_attribute_def_def_homeDirUmask
public urn_perun_facility_attribute_def_def_homeDirUmask()
-
-
Method Details
-
checkAttributeSyntax
public void checkAttributeSyntax(PerunSessionImpl perunSession, Facility facility, Attribute attribute) throws WrongAttributeValueException Method for checking permission mask of home directory.- Specified by:
checkAttributeSyntax
in interfaceFacilityAttributesModuleImplApi
- Overrides:
checkAttributeSyntax
in classFacilityAttributesModuleAbstract
- Parameters:
perunSession
- perun sessionfacility
- string for which you want to check validity of attributeattribute
- attribute to check- Throws:
WrongAttributeValueException
- if the attribute value has wrong/illegal syntax
-
getAttributeDefinition
Description copied from interface:AttributesModuleImplApi
Return attributes definition which is represented by the module- Specified by:
getAttributeDefinition
in interfaceAttributesModuleImplApi
- Overrides:
getAttributeDefinition
in classAttributesModuleAbstract
- Returns:
- attribute definition
-