- java.lang.Object
-
- org.praxislive.core.protocols.SupportedTypes.Result
-
- Enclosing interface:
- SupportedTypes
public static final class SupportedTypes.Result extends Object
Supported types result to be returned fromSupportedTypes.query()
.
-
-
Constructor Summary
Constructors Constructor Description Result(List<ComponentType> types)
Construct a Result object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<ComponentType>
types()
List of supported types as immutable list.PArray
typesAsArray()
List of supported types as PArray for response call.
-
-
-
Constructor Detail
-
Result
public Result(List<ComponentType> types)
Construct a Result object. The provided list will be copied if not already immutable. The list must not contain null values.- Parameters:
types
- supported types
-
-
Method Detail
-
types
public List<ComponentType> types()
List of supported types as immutable list.- Returns:
- supported types
-
typesAsArray
public PArray typesAsArray()
List of supported types as PArray for response call.- Returns:
- supported types
-
-