Class Init
java.lang.Object
com.microservices.starter.core.environment.Init
- All Implemented Interfaces:
Serializable
Optional setting for
SupportingComponent to define if the component should be initialized
in different environments. Initialization may mean different things depending on the component.
If initialization is not supported by the component, this setting will be ignored.- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleangetCloud()Whether initialization of the supporting component is performed in the cloud environment.Whether initialization of the supporting component is performed in the docker environment.getLocal()Whether initialization of the supporting component is performed in the local environment.inthashCode()voidWhether initialization of the supporting component is performed in the cloud environment.voidWhether initialization of the supporting component is performed in the docker environment.voidWhether initialization of the supporting component is performed in the local environment.toString()
-
Constructor Details
-
Init
public Init()
-
-
Method Details
-
getLocal
Whether initialization of the supporting component is performed in the local environment. Optional. Default is true. -
getDocker
Whether initialization of the supporting component is performed in the docker environment. Optional. Default is true. -
getCloud
Whether initialization of the supporting component is performed in the cloud environment. Optional. Default is true. -
setLocal
Whether initialization of the supporting component is performed in the local environment. Optional. Default is true. -
setDocker
Whether initialization of the supporting component is performed in the docker environment. Optional. Default is true. -
setCloud
Whether initialization of the supporting component is performed in the cloud environment. Optional. Default is true. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-