Interface ReadOnlySkillCollection
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceReadOnlySkillCollection.Builder
-
Field Summary
Fields Modifier and Type Field Description static StringGlobalSkill
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description Map<String,ReadOnlyFunctionCollection>asMap()Get this collection as an unmodifiable mapstatic ReadOnlySkillCollection.Builderbuilder()ReadOnlySkillCollectioncopy()ReadOnlyFunctionCollectiongetAllFunctions()<T extends SKFunction<?>>
TgetFunction(String functionName, Class<T> functionType)Get function with name from the global scope<T extends SKFunction<?>>
TgetFunction(String skillName, String funName, Class<T> functionClazz)ReadOnlyFunctionCollectiongetFunctions(String skillName)booleanhasFunction(String functionName)booleanhasFunction(String skillName, String functionName)
-
-
-
Field Detail
-
GlobalSkill
static final String GlobalSkill
- See Also:
- Constant Field Values
-
-
Method Detail
-
copy
@CheckReturnValue ReadOnlySkillCollection copy()
-
asMap
Map<String,ReadOnlyFunctionCollection> asMap()
Get this collection as an unmodifiable map
-
getAllFunctions
ReadOnlyFunctionCollection getAllFunctions()
-
getFunction
@Nullable <T extends SKFunction<?>> T getFunction(String functionName, @Nullable Class<T> functionType)
Get function with name from the global scope
-
getFunction
@Nullable <T extends SKFunction<?>> T getFunction(String skillName, String funName, @Nullable Class<T> functionClazz)
-
getFunctions
@Nullable ReadOnlyFunctionCollection getFunctions(String skillName)
-
hasFunction
boolean hasFunction(String functionName)
-
builder
static ReadOnlySkillCollection.Builder builder()
-
-