public class MuleConfigGenerator extends Object
| Modifier and Type | Field and Description |
|---|---|
static NamespaceWithLocation |
EE_NAMESPACE |
static NamespaceWithLocation |
HTTP_NAMESPACE |
static NamespaceWithLocation |
XMLNS_NAMESPACE |
static NamespaceWithLocation |
XSI_NAMESPACE |
| Constructor and Description |
|---|
MuleConfigGenerator(List<ApikitMainFlowContainer> apiContainers,
List<GenerationModel> flowEntriesDiff,
List<MuleConfig> muleConfigsInApp,
ScaffolderContext scaffolderContext,
boolean includeConsole) |
| Modifier and Type | Method and Description |
|---|---|
MuleConfig |
createMuleConfig(ApikitMainFlowContainer api)
It creates a document for the new mule configuration, then builds it.
|
List<MuleConfig> |
generate()
Generates or updates Mule configurations
|
public static final NamespaceWithLocation XMLNS_NAMESPACE
public static final NamespaceWithLocation XSI_NAMESPACE
public static final NamespaceWithLocation HTTP_NAMESPACE
public static final NamespaceWithLocation EE_NAMESPACE
public MuleConfigGenerator(List<ApikitMainFlowContainer> apiContainers, List<GenerationModel> flowEntriesDiff, List<MuleConfig> muleConfigsInApp, ScaffolderContext scaffolderContext, boolean includeConsole)
apiContainers - Information about APIs being scaffoldedflowEntriesDiff - New flows that needs to be addedmuleConfigsInApp - Pre-existing Mule configurationsscaffolderContext - Scaffolder context informationincludeConsole - Whether console should be included or notpublic List<MuleConfig> generate()
public MuleConfig createMuleConfig(ApikitMainFlowContainer api)
api - container of the main mule application fileCopyright © 2022. All rights reserved.