@NoImplement
public interface ComponentMetadataAstBuilder
ComponentMetadataAst instances.| Modifier and Type | Method and Description |
|---|---|
ComponentMetadataAst |
build()
Builds the target component metadata.
|
ComponentMetadataAstBuilder |
putDocAttribute(String key,
String value)
Puts s document attribute value in the metadata.
|
ComponentMetadataAstBuilder |
putParserAttribute(String key,
Object value)
Puts a parser attribute value in the metadata.
|
ComponentMetadataAstBuilder |
setEndColumn(int endColumn)
Sets the end column for the metadata.
|
ComponentMetadataAstBuilder |
setEndLine(int endLine)
Sets the last line for the metadata.
|
ComponentMetadataAstBuilder |
setFileName(String fileName)
Sets the file name for the metadata.
|
ComponentMetadataAstBuilder |
setSourceCode(String sourceCode)
Sets the source code for the metadata.
|
ComponentMetadataAstBuilder |
setStartColumn(int startColumn)
Sets the start column for the metadata.
|
ComponentMetadataAstBuilder |
setStartLine(int startLine)
Sets the start line for the metadata.
|
ComponentMetadataAstBuilder setFileName(String fileName)
fileName - the config file name in which the owner component was defined.ComponentMetadataAstBuilder setStartLine(int startLine)
startLine - the first line number in which the component was defined in the configuration file.ComponentMetadataAstBuilder setStartColumn(int startColumn)
startColumn - the start column in which the component was defined in the configuration file.ComponentMetadataAstBuilder setEndLine(int endLine)
endLine - the last line in which the component was defined in the configuration file.ComponentMetadataAstBuilder setEndColumn(int endColumn)
endColumn - the end column in which the component was defined in the configuration file.ComponentMetadataAstBuilder setSourceCode(String sourceCode)
sourceCode - the source code associated with the owner component.ComponentMetadataAstBuilder putDocAttribute(String key, String value)
key - The key to later reference the given document attribute.value - The actual value of the attribute.ComponentMetadataAstBuilder putParserAttribute(String key, Object value)
key - The key to later reference the given parser attribute.value - The actual value of the attribute.ComponentMetadataAst build()
Copyright © 2025 MuleSoft, Inc.. All rights reserved.