Class EnvDefinition
-
- All Implemented Interfaces:
@Serializable() public final class EnvDefinition implements IGenericDefinition, WithComment
A class representing an environment definition in a Wrap ABI.
-
-
Field Summary
Fields Modifier and Type Field Description private final Stringtypeprivate final Integerkindprivate final Stringnameprivate final Booleanrequiredprivate final Stringcommentprivate final List<PropertyDefinition>propertiesprivate final List<GenericDefinition>interfaces
-
Constructor Summary
Constructors Constructor Description EnvDefinition(String type, Integer kind, String name, Boolean required, String comment, List<PropertyDefinition> properties, List<GenericDefinition> interfaces)
-
Method Summary
Modifier and Type Method Description StringgetType()The type of the environment definition. IntegergetKind()The kind of the environment definition. StringgetName()The name of the environment definition, if any. BooleangetRequired()A flag indicating if the environment definition is required. StringgetComment()An optional comment about the environment definition. final List<PropertyDefinition>getProperties()The list of property definitions for the environment. final List<GenericDefinition>getInterfaces()The list of generic interface definitions for the environment. -
-
Constructor Detail
-
EnvDefinition
EnvDefinition(String type, Integer kind, String name, Boolean required, String comment, List<PropertyDefinition> properties, List<GenericDefinition> interfaces)
-
-
Method Detail
-
getRequired
Boolean getRequired()
A flag indicating if the environment definition is required.
-
getComment
String getComment()
An optional comment about the environment definition.
-
getProperties
final List<PropertyDefinition> getProperties()
The list of property definitions for the environment.
-
getInterfaces
final List<GenericDefinition> getInterfaces()
The list of generic interface definitions for the environment.
-
-
-
-