@NoImplement
public interface ConnectivitySchemaBuilder
ConnectivitySchema| Modifier and Type | Interface and Description |
|---|---|
static interface |
ConnectivitySchemaBuilder.ConnectionParameterConfigurer
A configurer for describing a parameter
|
static interface |
ConnectivitySchemaBuilder.CustomRangeConfigurer
A configurer for describing a custom Range
|
| 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
|
static ConnectivitySchemaBuilder |
newInstance() |
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 |
static ConnectivitySchemaBuilder newInstance()
ConnectivitySchemaBuilder gav(String groupId, String artifactId, String version)
groupId - a valid Maven groupIdartifactId - a valid Maven artifactIdversion - a valid Maven versionthis builderConnectivitySchemaBuilder authenticationType(String authenticationType)
This identifier should ideally be defined in the connectivity AML vocabulary.
authenticationType - the authentication type idthis builderConnectivitySchemaBuilder system(String system)
system - the system namethis builderConnectivitySchemaBuilder connectionProviderName(String connectionProviderName)
ConnectionProvider which implements this schemaconnectionProviderName - a ConnectionProvider namethis builderConnectivitySchemaBuilder withLabel(String key, String value)
key - the label keyvalue - the label valuethis builderConnectivitySchemaBuilder addAsset(ExchangeAssetDescriptor assetDescriptor)
assetDescriptor - the asset descriptorthis builderConnectivitySchemaBuilder uses(String ns, String url)
ns - the vocabulary namespaceurl - the vocabulary urlthis builderConnectivitySchemaBuilder usesExternal(String ns, String url)
ns - the vocabulary namespaceurl - the vocabulary urlthis builderConnectivitySchemaBuilder connectionClassTerm(String classTerm)
classTerm - the connectivity class termthis builderConnectivitySchemaBuilder withParameter(String name, Consumer<ConnectivitySchemaBuilder.ConnectionParameterConfigurer> configurerConsumer)
ConnectivitySchemaBuilder.ConnectionParameterConfigurername - the parameter nameconfigurerConsumer - a Consumer for a ConnectivitySchemaBuilder.ConnectionParameterConfigurer on which the parameter is describedthis builderConnectivitySchemaBuilder withCustomRange(String name, Consumer<ConnectivitySchemaBuilder.CustomRangeConfigurer> configurerConsumer)
ConnectivitySchemaBuilder.CustomRangeConfigurername - the range nameconfigurerConsumer - a Consumer for a ConnectivitySchemaBuilder.CustomRangeConfigurer on which the range is describedthis builderConnectivitySchema build()
Copyright © 2021. All rights reserved.