Class DataSource

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

public class DataSource extends Object implements Serializable
Identifies information based on the type of datasource leveraged by the service library component. This is a special case setting that allows a service to forgo data routing in favor of a single, non-routed datasource. Requires the service is not deployed to a composite flexpackage (granular only). This generally only applies to auth. Optional. Composite datasource assumed by default.
See Also:
  • Constructor Details

    • DataSource

      public DataSource()
  • Method Details

    • getType

      public String getType()
    • setType

      public void setType(String type)
    • 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