org.joinedworkz.common.adapter.ResourceProvideAdapter.xtend Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of common-base Show documentation
Show all versions of common-base Show documentation
DSL based modeling framework - facilities common base
package org.joinedworkz.common.adapter
import org.joinedworkz.core.model.CmnProvidedResource
import org.eclipse.xtend.lib.annotations.Accessors
import org.joinedworkz.core.model.CmnComponent
import org.joinedworkz.core.model.CmnAdapter
import java.util.Map
@Accessors
class ResourceProvideAdapter implements CmnAdapter {
final Map providedResources = newLinkedHashMap
def putProvidedResource(CmnComponent component, CmnProvidedResource providedResource) {
providedResources.put(component, providedResource)
}
def CmnProvidedResource getProvidedResource(CmnComponent component) {
return providedResources.get(component)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy