Package csw.location.models
Class ConnectionType
- java.lang.Object
-
- csw.location.models.ConnectionType
-
- All Implemented Interfaces:
enumeratum.EnumEntry
- Direct Known Subclasses:
ConnectionType.AkkaType$
,ConnectionType.HttpType$
,ConnectionType.TcpType$
public abstract class ConnectionType extends java.lang.Object implements enumeratum.EnumEntry
Represents a type of connection offered by the Componentparam: entryName A name of the connection type e.g. akka, http or tcp
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ConnectionType.AkkaType$
Represents an Akka type of connectionstatic class
ConnectionType.HttpType$
Represents a HTTP type of connectionstatic class
ConnectionType.TcpType$
Represents a TCP type of connection-
Nested classes/interfaces inherited from interface enumeratum.EnumEntry
enumeratum.EnumEntry.Camelcase, enumeratum.EnumEntry.CapitalDotcase, enumeratum.EnumEntry.CapitalHyphencase, enumeratum.EnumEntry.CapitalSnakecase, enumeratum.EnumEntry.CapitalWords, enumeratum.EnumEntry.Dotcase, enumeratum.EnumEntry.EnumEntryOps<A extends enumeratum.EnumEntry>, enumeratum.EnumEntry.EnumEntryOps$, enumeratum.EnumEntry.Hyphencase, enumeratum.EnumEntry.LowerCamelcase, enumeratum.EnumEntry.Lowercase, enumeratum.EnumEntry.Snakecase, enumeratum.EnumEntry.Uncapitalised, enumeratum.EnumEntry.Uppercase, enumeratum.EnumEntry.UpperDotcase, enumeratum.EnumEntry.UpperHyphencase, enumeratum.EnumEntry.UpperSnakecase, enumeratum.EnumEntry.UpperWords, enumeratum.EnumEntry.Words
-
-
Constructor Summary
Constructors Constructor Description ConnectionType(java.lang.String entryName)
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description java.lang.String
entryName()
static java.lang.String
enumeratum$Enum$$existingEntriesString()
protected abstract static void
enumeratum$PlayJsonEnum$_setter_$jsonFormat_$eq(play.api.libs.json.Format<A> x$1)
protected static scala.collection.immutable.IndexedSeq<A>
findValues()
static int
indexOf(A member)
static play.api.libs.json.Format<ConnectionType>
jsonFormat()
static scala.collection.immutable.Map<java.lang.String,ConnectionType>
lowerCaseNamesToValuesMap()
java.lang.String
name()
The name of the connection typestatic scala.collection.immutable.Map<java.lang.String,ConnectionType>
namesToValuesMap()
static scala.collection.immutable.Map<java.lang.String,ConnectionType>
upperCaseNameValuesToMap()
static scala.collection.immutable.IndexedSeq<ConnectionType>
values()
Returns a sequence of all connection typesstatic scala.collection.immutable.Map<ConnectionType,java.lang.Object>
valuesToIndex()
static A
withName(java.lang.String name)
static A
withNameInsensitive(java.lang.String name)
static scala.Option<A>
withNameInsensitiveOption(java.lang.String name)
static A
withNameLowercaseOnly(java.lang.String name)
static scala.Option<A>
withNameLowercaseOnlyOption(java.lang.String name)
static scala.Option<A>
withNameOption(java.lang.String name)
static A
withNameUppercaseOnly(java.lang.String name)
static scala.Option<A>
withNameUppercaseOnlyOption(java.lang.String name)
-
-
-
Method Detail
-
jsonFormat
public static play.api.libs.json.Format<ConnectionType> jsonFormat()
-
namesToValuesMap
public static scala.collection.immutable.Map<java.lang.String,ConnectionType> namesToValuesMap()
-
lowerCaseNamesToValuesMap
public static final scala.collection.immutable.Map<java.lang.String,ConnectionType> lowerCaseNamesToValuesMap()
-
upperCaseNameValuesToMap
public static final scala.collection.immutable.Map<java.lang.String,ConnectionType> upperCaseNameValuesToMap()
-
valuesToIndex
public static final scala.collection.immutable.Map<ConnectionType,java.lang.Object> valuesToIndex()
-
values
public static scala.collection.immutable.IndexedSeq<ConnectionType> values()
Returns a sequence of all connection types- Returns:
- (undocumented)
-
withName
public static A withName(java.lang.String name)
-
withNameOption
public static scala.Option<A> withNameOption(java.lang.String name)
-
withNameInsensitive
public static A withNameInsensitive(java.lang.String name)
-
withNameUppercaseOnly
public static A withNameUppercaseOnly(java.lang.String name)
-
withNameLowercaseOnly
public static A withNameLowercaseOnly(java.lang.String name)
-
withNameInsensitiveOption
public static scala.Option<A> withNameInsensitiveOption(java.lang.String name)
-
withNameUppercaseOnlyOption
public static scala.Option<A> withNameUppercaseOnlyOption(java.lang.String name)
-
withNameLowercaseOnlyOption
public static scala.Option<A> withNameLowercaseOnlyOption(java.lang.String name)
-
indexOf
public static int indexOf(A member)
-
findValues
protected static scala.collection.immutable.IndexedSeq<A> findValues()
-
enumeratum$Enum$$existingEntriesString
public static java.lang.String enumeratum$Enum$$existingEntriesString()
-
enumeratum$PlayJsonEnum$_setter_$jsonFormat_$eq
protected abstract static void enumeratum$PlayJsonEnum$_setter_$jsonFormat_$eq(play.api.libs.json.Format<A> x$1)
-
entryName
public java.lang.String entryName()
- Specified by:
entryName
in interfaceenumeratum.EnumEntry
-
name
public java.lang.String name()
The name of the connection type- Returns:
- (undocumented)
-
-