org.mule.devkit.generation.studio.editor
Class GlobalCloudConnectorTypeBuilder

java.lang.Object
  extended by org.mule.devkit.generation.studio.editor.BaseStudioXmlBuilder
      extended by org.mule.devkit.generation.studio.editor.GlobalTypeBuilder
          extended by org.mule.devkit.generation.studio.editor.GlobalCloudConnectorTypeBuilder
Direct Known Subclasses:
ParentCloudConnectorTypeBuilder

public class GlobalCloudConnectorTypeBuilder
extends GlobalTypeBuilder


Field Summary
 
Fields inherited from class org.mule.devkit.generation.studio.editor.BaseStudioXmlBuilder
ADVANCED_CONNECTION_GROUP_NAME, CONNECTION_GROUP_NAME, context, GENERAL_GROUP_NAME, helper, method, module, moduleName, objectFactory
 
Constructor Summary
GlobalCloudConnectorTypeBuilder(Context context, org.mule.devkit.model.module.Module module, List<org.mule.devkit.model.module.Module> usedMetaDataCategoryModules, boolean abstrac7, String globalRefId)
           
 
Method Summary
 org.mule.devkit.model.studio.GlobalType build()
           
protected  void createCacheConfigAttributes(Map<String,org.mule.devkit.model.studio.Group> groupsByName, Map<String,org.mule.devkit.model.studio.AttributeCategory> attributeCategoriesByName)
           
protected  void createMetaDataAttributes(Map<String,org.mule.devkit.model.studio.Group> groupsByName, Map<String,org.mule.devkit.model.studio.AttributeCategory> attributeCategoriesByName)
           
protected  void createOAuthConfig(Map<String,org.mule.devkit.model.studio.Group> groupsByName, Map<String,org.mule.devkit.model.studio.AttributeCategory> attributeCategoriesByName)
           
protected  void createPoolingProfileAttributes(Map<String,org.mule.devkit.model.studio.Group> groupsByName, Map<String,org.mule.devkit.model.studio.AttributeCategory> attributeCategoriesByName)
           
protected  void createReconnectionAttributes(Map<String,org.mule.devkit.model.studio.Group> groupsByName, Map<String,org.mule.devkit.model.studio.AttributeCategory> attributeCategoriesByName)
           
protected  List<org.mule.devkit.model.studio.AttributeCategory> getAttributeCategories()
           
protected  String getCaptionBasedOnType()
           
protected  String getDescriptionBasedOnType()
           
protected  String getExtendsBasedOnType()
           
protected  String getIcon()
           
protected  String getImage()
           
protected  String getLocalIdBasedOnType()
           
protected  String getNameDescriptionBasedOnType()
           
protected  Boolean isAbstract()
           
protected  boolean isModuleWithMetadata()
           
protected  void processConnectionAttributes(Map<String,org.mule.devkit.model.studio.Group> groupsByName, Map<String,org.mule.devkit.model.studio.AttributeCategory> attributeCategoriesByName)
           
protected  void setConnectivityTestingAttribute(org.mule.devkit.model.studio.GlobalType globalCloudConnector, org.mule.api.annotations.ConnectivityTesting connectivityTesting)
           
protected  void setMetaDataAttribute(org.mule.devkit.model.studio.GlobalType globalCloudConnector, org.mule.api.annotations.MetaDataSwitch metadata)
           
protected  void setMetadataAttributes(org.mule.devkit.model.Variable<?> variable, org.mule.devkit.model.studio.AttributeType attributeType)
           
 
Methods inherited from class org.mule.devkit.generation.studio.editor.GlobalTypeBuilder
createNameAttributeType
 
Methods inherited from class org.mule.devkit.generation.studio.editor.BaseStudioXmlBuilder
buildVersionsString, createGroupWithModeSwitch, createGroupWithNoOperationModeSwitch, createGroupWithNoOperationModeSwitchForProcessors, createGroupWithNoOperationModeSwitchForSources, createJaxbElement, createQueryType, getConnectionAttributes, getModes, isConfigurableVariable, processConfigurableFields, processMethodParameters
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GlobalCloudConnectorTypeBuilder

public GlobalCloudConnectorTypeBuilder(Context context,
                                       org.mule.devkit.model.module.Module module,
                                       List<org.mule.devkit.model.module.Module> usedMetaDataCategoryModules,
                                       boolean abstrac7,
                                       String globalRefId)
Method Detail

build

public org.mule.devkit.model.studio.GlobalType build()
Overrides:
build in class GlobalTypeBuilder

setMetaDataAttribute

protected void setMetaDataAttribute(org.mule.devkit.model.studio.GlobalType globalCloudConnector,
                                    org.mule.api.annotations.MetaDataSwitch metadata)

setConnectivityTestingAttribute

protected void setConnectivityTestingAttribute(org.mule.devkit.model.studio.GlobalType globalCloudConnector,
                                               org.mule.api.annotations.ConnectivityTesting connectivityTesting)

getAttributeCategories

protected List<org.mule.devkit.model.studio.AttributeCategory> getAttributeCategories()
Specified by:
getAttributeCategories in class GlobalTypeBuilder

createMetaDataAttributes

protected void createMetaDataAttributes(Map<String,org.mule.devkit.model.studio.Group> groupsByName,
                                        Map<String,org.mule.devkit.model.studio.AttributeCategory> attributeCategoriesByName)
Overrides:
createMetaDataAttributes in class BaseStudioXmlBuilder

processConnectionAttributes

protected void processConnectionAttributes(Map<String,org.mule.devkit.model.studio.Group> groupsByName,
                                           Map<String,org.mule.devkit.model.studio.AttributeCategory> attributeCategoriesByName)
Overrides:
processConnectionAttributes in class BaseStudioXmlBuilder

createPoolingProfileAttributes

protected void createPoolingProfileAttributes(Map<String,org.mule.devkit.model.studio.Group> groupsByName,
                                              Map<String,org.mule.devkit.model.studio.AttributeCategory> attributeCategoriesByName)
Overrides:
createPoolingProfileAttributes in class BaseStudioXmlBuilder

createCacheConfigAttributes

protected void createCacheConfigAttributes(Map<String,org.mule.devkit.model.studio.Group> groupsByName,
                                           Map<String,org.mule.devkit.model.studio.AttributeCategory> attributeCategoriesByName)
Overrides:
createCacheConfigAttributes in class BaseStudioXmlBuilder

createReconnectionAttributes

protected void createReconnectionAttributes(Map<String,org.mule.devkit.model.studio.Group> groupsByName,
                                            Map<String,org.mule.devkit.model.studio.AttributeCategory> attributeCategoriesByName)
Overrides:
createReconnectionAttributes in class BaseStudioXmlBuilder

createOAuthConfig

protected void createOAuthConfig(Map<String,org.mule.devkit.model.studio.Group> groupsByName,
                                 Map<String,org.mule.devkit.model.studio.AttributeCategory> attributeCategoriesByName)
Overrides:
createOAuthConfig in class BaseStudioXmlBuilder

getDescriptionBasedOnType

protected String getDescriptionBasedOnType()
Specified by:
getDescriptionBasedOnType in class GlobalTypeBuilder

getExtendsBasedOnType

protected String getExtendsBasedOnType()
Specified by:
getExtendsBasedOnType in class GlobalTypeBuilder

getLocalIdBasedOnType

protected String getLocalIdBasedOnType()
Specified by:
getLocalIdBasedOnType in class GlobalTypeBuilder

getCaptionBasedOnType

protected String getCaptionBasedOnType()
Overrides:
getCaptionBasedOnType in class GlobalTypeBuilder

getNameDescriptionBasedOnType

protected String getNameDescriptionBasedOnType()
Specified by:
getNameDescriptionBasedOnType in class GlobalTypeBuilder

getImage

protected String getImage()
Specified by:
getImage in class GlobalTypeBuilder

getIcon

protected String getIcon()
Specified by:
getIcon in class GlobalTypeBuilder

isAbstract

protected Boolean isAbstract()
Specified by:
isAbstract in class GlobalTypeBuilder

setMetadataAttributes

protected void setMetadataAttributes(org.mule.devkit.model.Variable<?> variable,
                                     org.mule.devkit.model.studio.AttributeType attributeType)
Overrides:
setMetadataAttributes in class BaseStudioXmlBuilder

isModuleWithMetadata

protected boolean isModuleWithMetadata()


Copyright © 2010–2014 MuleSoft, Inc.. All rights reserved.