Inherits org.lflang.target.property.TargetProperty< CommunicationMode, CommunicationModeType >.
|
| final S | type |
| | The type of values assignable to this target property.
|
|
| static final CommunicationModeProperty | INSTANCE = new CommunicationModeProperty() |
| | Singleton target property instance.
|
◆ astElementFromConfig()
◆ checkType()
If the given key-value pair does not match the type required by this target property, report an error through the given reporter.
- Parameters
-
| pair | The ast node that matches this target property. |
| reporter | The reporter to issue an error through if the given key-value pair does not match the type required by this property. |
◆ equals()
Return true if the given object is an instance of a class with the same name.
- Parameters
-
| obj | The object to compare this instance to. |
◆ fromAst()
◆ fromJSON()
Return a value based on the given JSON element.
- Parameters
-
| element | The JSON element to produce a value from/ |
| reporter | A message reporter for reporting issues. |
◆ fromString()
◆ hashCode()
◆ initialValue()
| CommunicationMode org.lflang.target.property.CommunicationModeProperty.initialValue |
( |
| ) |
|
◆ loadFromFederate()
Return true if this property is to be loaded from imported federates, false otherwise.
◆ loadFromFederation()
Return true if this property is to be loaded by federates when specified at the level of the federation, false otherwise.
◆ loadFromImport()
Return true if this property is to be loaded from imported files, false otherwise.
◆ name()
| String org.lflang.target.property.CommunicationModeProperty.name |
( |
| ) |
|
◆ override()
Replace the value assigned to this target property in the given config with the given value.
- Parameters
-
| config | The configuration to change. |
| value | The new value to assign. |
◆ toAstElement() [1/2]
| Element org.lflang.target.property.CommunicationModeProperty.toAstElement |
( |
CommunicationMode | value | ) |
|
◆ toAstElement() [2/2]
Return an AST node that represents this target property and the value currently assigned to it.
◆ toString()
◆ update()
Update the given configuration using the given value.
The default implementation simply assigns the given value, overriding whatever value might have been assigned before.
- Parameters
-
| config | The configuration to update. |
| value | The value to perform the update with. |
◆ validate()
Override this method to implement additional checks.
The base implementation does nothing.
This method is meant to perform additional validation above and beyond checking target support and type checking which are done automatically.
- Parameters
-
| config | The target configuration to check against. |
| reporter | A reporter for reporting errors. |
◆ INSTANCE
| final CommunicationModeProperty org.lflang.target.property.CommunicationModeProperty.INSTANCE = new CommunicationModeProperty() |
|
static |
Singleton target property instance.
◆ type
The type of values assignable to this target property.
The documentation for this class was generated from the following file:
- /Users/runner/work/lingua-franca/lingua-franca/core/src/main/java/org/lflang/target/property/CommunicationModeProperty.java