All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.dynamicextensionsalfresco.actions.ParameterMapping.kt Maven / Gradle / Ivy

Go to download

Adds an OSGi container to alfresco repository supporting dynamic code reloading, classpath isolation and a bunch of other useful features

There is a newer version: 3.1.0
Show newest version
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