Class urn_perun_resource_attribute_def_def_userSettingsDescription
java.lang.Object
cz.metacentrum.perun.core.implApi.modules.attributes.AttributesModuleAbstract
cz.metacentrum.perun.core.implApi.modules.attributes.ResourceAttributesModuleAbstract
cz.metacentrum.perun.core.impl.modules.attributes.urn_perun_resource_attribute_def_def_userSettingsDescription
- All Implemented Interfaces:
AttributesModuleImplApi
,ResourceAttributesModuleImplApi
public class urn_perun_resource_attribute_def_def_userSettingsDescription
extends ResourceAttributesModuleAbstract
implements ResourceAttributesModuleImplApi
- Author:
- Vojtech Sassmann <vojtech.sassmann@gmail.com>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfillAttribute
(PerunSessionImpl session, Resource resource, AttributeDefinition attribute) This method tries to fill a value of the resource attribute.Return attributes definition which is represented by the moduleMethods inherited from class cz.metacentrum.perun.core.implApi.modules.attributes.ResourceAttributesModuleAbstract
changedAttributeHook, checkAttributeSemantics, checkAttributeSyntax
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.ResourceAttributesModuleImplApi
changedAttributeHook, checkAttributeSemantics, checkAttributeSyntax
-
Constructor Details
-
urn_perun_resource_attribute_def_def_userSettingsDescription
public urn_perun_resource_attribute_def_def_userSettingsDescription()
-
-
Method Details
-
fillAttribute
public Attribute fillAttribute(PerunSessionImpl session, Resource resource, AttributeDefinition attribute) Description copied from interface:ResourceAttributesModuleImplApi
This method tries to fill a value of the resource attribute. Value may be copied from some facility attribute.- Specified by:
fillAttribute
in interfaceResourceAttributesModuleImplApi
- Overrides:
fillAttribute
in classResourceAttributesModuleAbstract
- Parameters:
session
- perun sessionresource
- resource, attribute of which you want to fillattribute
- attribute to fill. If attributes already have set value, this value won't be overwriten. This means the attribute value must be empty otherwise this method won't fill it.- Returns:
- attribute which MAY have filled value
-
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
-