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 boolean
boolean
Comma-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.int
hashCode()
void
setFlexUnits
(String flexUnits) Comma-delimited list of service library components that are included in the flexpackage component declaration.void
setImageUriOverride
(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
.void
setMessageInterlink
(MessageInterlink messageInterlink) The categories of messages that a given flexpackage should listen for.void
setPrimary
(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, setPorts
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.microservices.starter.core.environment.EnabledAware
setEnabled
Methods 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 theBalanced
flexpackage use case where theProcessing
flexpackage is primarily responsible for the handling of messages (and contains redundant component declarations for this purpose). Optional.MessageInterlink.all
by 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 inmessageInterlink
where a flexpackage may be responsible for message processing, but not standard traffic. For example, in theBalanced
flexpackage case,Processing
is 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 theBalanced
flexpackage use case where theProcessing
flexpackage is primarily responsible for the handling of messages (and contains redundant component declarations for this purpose). Optional.MessageInterlink.all
by 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 inmessageInterlink
where a flexpackage may be responsible for message processing, but not standard traffic. For example, in theBalanced
flexpackage case,Processing
is 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
-