com.github.dynamicextensionsalfresco.actions.ParameterMapping.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of annotations-runtime Show documentation
Show all versions of annotations-runtime Show documentation
Adds an OSGi container to alfresco repository supporting dynamic code reloading, classpath isolation and a bunch of other useful features
package com.github.dynamicextensionsalfresco.actions
import org.alfresco.service.cmr.action.ParameterDefinition
/**
* Represents a mapping of an Action parameter to a parameter of an [ActionMethod]-annotated method.
* @author Laurens Fridael
*/
class ParameterMapping(parameterDefinition: ParameterDefinition, val index: Int) {
val name: String
val isMultivalued: Boolean
val isMandatory: Boolean
init {
this.name = parameterDefinition.name
this.isMultivalued = parameterDefinition.isMultiValued
this.isMandatory = parameterDefinition.isMandatory
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy