public class DefaultConnectivitySchemaBuilder extends Object implements ConnectivitySchemaBuilder
ConnectivitySchemaBuilder.ConnectionParameterConfigurer, ConnectivitySchemaBuilder.CustomRangeConfigurer| Constructor and Description |
|---|
DefaultConnectivitySchemaBuilder() |
| Modifier and Type | Method and Description |
|---|---|
ConnectivitySchemaBuilder |
addAsset(ExchangeAssetDescriptor assetDescriptor)
Adds a dependant assert declaration
|
ConnectivitySchemaBuilder |
authenticationType(String authenticationType)
Specifies an identifier for the authentication type modeled by this schema.
|
ConnectivitySchema |
build() |
ConnectivitySchemaBuilder |
connectionClassTerm(String classTerm)
Specifies the connection class term as defined in the Connectivity AML Vocabulary
|
ConnectivitySchemaBuilder |
connectionProviderName(String connectionProviderName)
Specifies the name of a Mule connector's
ConnectionProvider which implements this schema |
ConnectivitySchemaBuilder |
gav(String groupId,
String artifactId,
String version)
Sets the schema's GAV
|
ConnectivitySchemaBuilder |
system(String system)
Specifies the name of the system targeted by this connection
|
ConnectivitySchemaBuilder |
uses(String ns,
String url)
Specifies a dependant vocabulary referenced in the produced schema
|
ConnectivitySchemaBuilder |
usesExternal(String ns,
String url)
Specifies an external dependant vocabulary referenced in the produced schema
|
ConnectivitySchemaBuilder |
withCustomRange(String name,
Consumer<ConnectivitySchemaBuilder.CustomRangeConfigurer> configurerConsumer)
Specifies a schema specific custom range through the use of a
ConnectivitySchemaBuilder.CustomRangeConfigurer |
ConnectivitySchemaBuilder |
withLabel(String key,
String value)
Adds a label
|
ConnectivitySchemaBuilder |
withParameter(String name,
Consumer<ConnectivitySchemaBuilder.ConnectionParameterConfigurer> configurerConsumer)
Adds a parameter into the range through the use of a
ConnectivitySchemaBuilder.ConnectionParameterConfigurer |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitnewInstancepublic ConnectivitySchemaBuilder gav(String groupId, String artifactId, String version)
gav in interface ConnectivitySchemaBuildergroupId - a valid Maven groupIdartifactId - a valid Maven artifactIdversion - a valid Maven versionthis builderpublic ConnectivitySchemaBuilder authenticationType(String authenticationType)
This identifier should ideally be defined in the connectivity AML vocabulary.
authenticationType in interface ConnectivitySchemaBuilderauthenticationType - the authentication type idthis builderpublic ConnectivitySchemaBuilder system(String system)
system in interface ConnectivitySchemaBuildersystem - the system namethis builderpublic ConnectivitySchemaBuilder connectionProviderName(String connectionProviderName)
ConnectionProvider which implements this schemaconnectionProviderName in interface ConnectivitySchemaBuilderconnectionProviderName - a ConnectionProvider namethis builderpublic ConnectivitySchemaBuilder withLabel(String key, String value)
withLabel in interface ConnectivitySchemaBuilderkey - the label keyvalue - the label valuethis builderpublic ConnectivitySchemaBuilder addAsset(ExchangeAssetDescriptor assetDescriptor)
addAsset in interface ConnectivitySchemaBuilderassetDescriptor - the asset descriptorthis builderpublic ConnectivitySchemaBuilder uses(String ns, String url)
uses in interface ConnectivitySchemaBuilderns - the vocabulary namespaceurl - the vocabulary urlthis builderpublic ConnectivitySchemaBuilder usesExternal(String ns, String url)
usesExternal in interface ConnectivitySchemaBuilderns - the vocabulary namespaceurl - the vocabulary urlthis builderpublic ConnectivitySchemaBuilder connectionClassTerm(String classTerm)
connectionClassTerm in interface ConnectivitySchemaBuilderclassTerm - the connectivity class termthis builderpublic ConnectivitySchemaBuilder withParameter(String name, Consumer<ConnectivitySchemaBuilder.ConnectionParameterConfigurer> configurerConsumer)
ConnectivitySchemaBuilder.ConnectionParameterConfigurerwithParameter in interface ConnectivitySchemaBuildername - the parameter nameconfigurerConsumer - a Consumer for a ConnectivitySchemaBuilder.ConnectionParameterConfigurer on which the parameter is describedthis builderpublic ConnectivitySchemaBuilder withCustomRange(String name, Consumer<ConnectivitySchemaBuilder.CustomRangeConfigurer> configurerConsumer)
ConnectivitySchemaBuilder.CustomRangeConfigurerwithCustomRange in interface ConnectivitySchemaBuildername - the range nameconfigurerConsumer - a Consumer for a ConnectivitySchemaBuilder.CustomRangeConfigurer on which the range is describedthis builderpublic ConnectivitySchema build()
build in interface ConnectivitySchemaBuilderCopyright © 2021. All rights reserved.