io.sarl.lang.core
Class DelegateDynamicSkillProvider
All Superinterfaces:
DynamicSkillProvider
final class DelegateDynamicSkillProvider
extends java.lang.Object
implements DynamicSkillProvider
This provides an implementation of a dynamic skill provider that delegates to the first known dynamic skill provider that is able to provide a skill.
Maven Group Identifier:
io.sarl.lang
Maven Artifact Identifier:
core
Since:
0.12
Field Summary
Inherited: EMPTY_PROVIDER
Constructor Summary
Constructor and description
new(DynamicSkillProvider)
Constructor.
Action Summary
Modifier and type Action and description
Skill createSkill(Class<T>)
boolean isSkillProviding(Class<T>)
Constructor Details
new(DynamicSkillProvider)
new(DynamicSkillProvider)
Constructor.
Parameters:
delegates - the lsit of the providers to delegate to.
Action Details
createSkill(Class<T>)
def createSkill(Class<T>) : Skill
isSkillProviding(Class<T>)
def isSkillProviding(Class<T>) : boolean