java.lang.Object
com.microservices.starter.core.environment.Init
All Implemented Interfaces:
Serializable

public class Init extends Object implements 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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected boolean
     
    boolean
     
    Whether initialization of the supporting component is performed in the cloud environment.
    Whether initialization of the supporting component is performed in the docker environment.
    Whether initialization of the supporting component is performed in the local environment.
    int
     
    void
    Whether initialization of the supporting component is performed in the cloud environment.
    void
    Whether initialization of the supporting component is performed in the docker environment.
    void
    Whether initialization of the supporting component is performed in the local environment.
     

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • Init

      public Init()
  • Method Details

    • getLocal

      public Boolean getLocal()
      Whether initialization of the supporting component is performed in the local environment. Optional. Default is true.
    • getDocker

      public Boolean getDocker()
      Whether initialization of the supporting component is performed in the docker environment. Optional. Default is true.
    • getCloud

      public Boolean getCloud()
      Whether initialization of the supporting component is performed in the cloud environment. Optional. Default is true.
    • setLocal

      public void setLocal(Boolean local)
      Whether initialization of the supporting component is performed in the local environment. Optional. Default is true.
    • setDocker

      public void setDocker(Boolean docker)
      Whether initialization of the supporting component is performed in the docker environment. Optional. Default is true.
    • setCloud

      public void setCloud(Boolean cloud)
      Whether initialization of the supporting component is performed in the cloud environment. Optional. Default is true.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object