Record Class PlatformInfo

java.lang.Object
java.lang.Record
org.apache.syncope.common.lib.info.PlatformInfo
All Implemented Interfaces:
Serializable, BaseBean

public record PlatformInfo(Set<String> connIdLocations, List<String> anyTypes, List<String> userClasses, List<String> anyTypeClasses, List<String> resources, Set<String> entitlements, Set<String> implementationTypes, Set<JavaImplInfo> javaImplInfos) extends Record implements BaseBean
See Also:
  • Constructor Details

    • PlatformInfo

      public PlatformInfo(Set<String> connIdLocations, List<String> anyTypes, List<String> userClasses, List<String> anyTypeClasses, List<String> resources, Set<String> entitlements, Set<String> implementationTypes, Set<JavaImplInfo> javaImplInfos)
      Creates an instance of a PlatformInfo record class.
      Parameters:
      connIdLocations - the value for the connIdLocations record component
      anyTypes - the value for the anyTypes record component
      userClasses - the value for the userClasses record component
      anyTypeClasses - the value for the anyTypeClasses record component
      resources - the value for the resources record component
      entitlements - the value for the entitlements record component
      implementationTypes - the value for the implementationTypes record component
      javaImplInfos - the value for the javaImplInfos record component
  • Method Details

    • getJavaImplInfo

      public Optional<JavaImplInfo> getJavaImplInfo(String type)
    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • connIdLocations

      public Set<String> connIdLocations()
      Returns the value of the connIdLocations record component.
      Returns:
      the value of the connIdLocations record component
    • anyTypes

      public List<String> anyTypes()
      Returns the value of the anyTypes record component.
      Returns:
      the value of the anyTypes record component
    • userClasses

      public List<String> userClasses()
      Returns the value of the userClasses record component.
      Returns:
      the value of the userClasses record component
    • anyTypeClasses

      public List<String> anyTypeClasses()
      Returns the value of the anyTypeClasses record component.
      Returns:
      the value of the anyTypeClasses record component
    • resources

      public List<String> resources()
      Returns the value of the resources record component.
      Returns:
      the value of the resources record component
    • entitlements

      public Set<String> entitlements()
      Returns the value of the entitlements record component.
      Returns:
      the value of the entitlements record component
    • implementationTypes

      public Set<String> implementationTypes()
      Returns the value of the implementationTypes record component.
      Returns:
      the value of the implementationTypes record component
    • javaImplInfos

      public Set<JavaImplInfo> javaImplInfos()
      Returns the value of the javaImplInfos record component.
      Returns:
      the value of the javaImplInfos record component