Class ConnectionType

java.lang.Object
csw.location.api.models.ConnectionType
All Implemented Interfaces:
enumeratum.EnumEntry
Direct Known Subclasses:
ConnectionType.AkkaType$, ConnectionType.HttpType$, ConnectionType.TcpType$

public abstract class ConnectionType extends Object implements enumeratum.EnumEntry
Represents a type of connection offered by the Component

param: entryName A name of the connection type e.g. akka, http or tcp

  • Constructor Details

    • ConnectionType

      public ConnectionType(String entryName)
  • Method Details

    • namesToValuesMap

      public static scala.collection.immutable.Map<String,ConnectionType> namesToValuesMap()
    • lowerCaseNamesToValuesMap

      public static final scala.collection.immutable.Map<String,ConnectionType> lowerCaseNamesToValuesMap()
    • upperCaseNameValuesToMap

      public static final scala.collection.immutable.Map<String,ConnectionType> upperCaseNameValuesToMap()
    • valuesToIndex

      public static final scala.collection.immutable.Map<ConnectionType,Object> valuesToIndex()
    • values

      public static scala.collection.immutable.IndexedSeq<ConnectionType> values()
      Returns a sequence of all connection types
      Returns:
      (undocumented)
    • extraNamesToValuesMap

      public static scala.collection.immutable.Map<String,A> extraNamesToValuesMap()
    • withName

      public static A withName(String name)
    • withNameOption

      public static scala.Option<A> withNameOption(String name)
    • withNameEither

      public static scala.util.Either<enumeratum.NoSuchMember<A>,A> withNameEither(String name)
    • withNameInsensitive

      public static A withNameInsensitive(String name)
    • withNameUppercaseOnly

      public static A withNameUppercaseOnly(String name)
    • withNameLowercaseOnly

      public static A withNameLowercaseOnly(String name)
    • withNameInsensitiveOption

      public static scala.Option<A> withNameInsensitiveOption(String name)
    • withNameUppercaseOnlyOption

      public static scala.Option<A> withNameUppercaseOnlyOption(String name)
    • withNameLowercaseOnlyOption

      public static scala.Option<A> withNameLowercaseOnlyOption(String name)
    • withNameInsensitiveEither

      public static scala.util.Either<enumeratum.NoSuchMember<A>,A> withNameInsensitiveEither(String name)
    • withNameUppercaseOnlyEither

      public static scala.util.Either<enumeratum.NoSuchMember<A>,A> withNameUppercaseOnlyEither(String name)
    • withNameLowercaseOnlyEither

      public static scala.util.Either<enumeratum.NoSuchMember<A>,A> withNameLowercaseOnlyEither(String name)
    • indexOf

      public static int indexOf(A member)
    • findValues

      protected static scala.collection.immutable.IndexedSeq<A> findValues()
    • enumeratum$Enum$$existingEntriesString

      public static String enumeratum$Enum$$existingEntriesString()
    • entryName

      public String entryName()
      Specified by:
      entryName in interface enumeratum.EnumEntry
    • name

      public String name()
      The name of the connection type
      Returns:
      (undocumented)