Class FlexComponent
java.lang.Object
com.microservices.starter.core.environment.Component
com.microservices.starter.core.environment.FlexComponent
- All Implemented Interfaces:
DomainAware,EnabledAware,Identifiable,Serializable
Type of component responsible for exposing all relevant
LibraryComponent artifacts into a
single application runtime (see flexUnits).- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanComma-delimited list of service library components that are included in the flexpackage component declaration.The system will usually determine the image name for project generated components based on convention using a mixture of the component name, and docker related properties found inDocker.The categories of messages that a given flexpackage should listen for.Whether or not this flexpackage component is considered the primary target for REST traffic for a given flexUnit.inthashCode()voidsetFlexUnits(String flexUnits) Comma-delimited list of service library components that are included in the flexpackage component declaration.voidsetImageUriOverride(String imageUriOverride) The system will usually determine the image name for project generated components based on convention using a mixture of the component name, and docker related properties found inDocker.voidsetMessageInterlink(MessageInterlink messageInterlink) The categories of messages that a given flexpackage should listen for.voidsetPrimary(Boolean primary) Whether or not this flexpackage component is considered the primary target for REST traffic for a given flexUnit.toString()Methods inherited from class com.microservices.starter.core.environment.Component
getAltName, getDataSource, getDomain, getEnabled, getName, getPackageIdentifier, getPorts, setAltName, setDataSource, setDomain, setEnabled, setName, setPackageIdentifier, setPortsMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.microservices.starter.core.environment.EnabledAware
setEnabledMethods inherited from interface com.microservices.starter.core.environment.Identifiable
getAltName, getDomain, getEnabled, getName, getPorts
-
Constructor Details
-
FlexComponent
public FlexComponent()
-
-
Method Details
-
getFlexUnits
Comma-delimited list of service library components that are included in the flexpackage component declaration. Only has meaning for flexpackage declarations and is only required in that case. -
getMessageInterlink
The categories of messages that a given flexpackage should listen for. Only has meaning for flexpackage declarations. This is a special case setting an is primarily used in theBalancedflexpackage use case where theProcessingflexpackage is primarily responsible for the handling of messages (and contains redundant component declarations for this purpose). Optional.MessageInterlink.allby default. -
getPrimary
Whether or not this flexpackage component is considered the primary target for REST traffic for a given flexUnit. This again applies to the same scenario described inmessageInterlinkwhere a flexpackage may be responsible for message processing, but not standard traffic. For example, in theBalancedflexpackage case,Processingis NOT the primary. Optional. True by default. -
getImageUriOverride
The system will usually determine the image name for project generated components based on convention using a mixture of the component name, and docker related properties found inDocker. However, if a non-generated URI is desired to target the appropriate image for the component, it can be specified here. A valid URI would be something like:/my-prefix/my-name. Optional. Generated by default. -
setFlexUnits
Comma-delimited list of service library components that are included in the flexpackage component declaration. Only has meaning for flexpackage declarations and is only required in that case. -
setMessageInterlink
The categories of messages that a given flexpackage should listen for. Only has meaning for flexpackage declarations. This is a special case setting an is primarily used in theBalancedflexpackage use case where theProcessingflexpackage is primarily responsible for the handling of messages (and contains redundant component declarations for this purpose). Optional.MessageInterlink.allby default. -
setPrimary
Whether or not this flexpackage component is considered the primary target for REST traffic for a given flexUnit. This again applies to the same scenario described inmessageInterlinkwhere a flexpackage may be responsible for message processing, but not standard traffic. For example, in theBalancedflexpackage case,Processingis NOT the primary. Optional. True by default. -
setImageUriOverride
The system will usually determine the image name for project generated components based on convention using a mixture of the component name, and docker related properties found inDocker. However, if a non-generated URI is desired to target the appropriate image for the component, it can be specified here. A valid URI would be something like:/my-prefix/my-name. Optional. Generated by default. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-