Package thredds.catalog
Class ServiceType
- java.lang.Object
-
- thredds.catalog.ServiceType
-
public final class ServiceType extends Object
Type-safe enumeration of THREDDS Service types.
-
-
Field Summary
Fields Modifier and Type Field Description static ServiceType
ADDE
static ServiceType
CATALOG
static ServiceType
CdmRemote
static ServiceType
CdmrFeature
static ServiceType
COMPOUND
static ServiceType
DAP4
static ServiceType
DODS
static ServiceType
FILE
static ServiceType
FTP
static ServiceType
GRIDFTP
static ServiceType
H5Service
static ServiceType
HTTP
static ServiceType
HTTPServer
static ServiceType
ISO
static ServiceType
LAS
static ServiceType
ncJSON
static ServiceType
NCML
static ServiceType
NETCDF
static ServiceType
NetcdfServer
static ServiceType
NetcdfSubset
static ServiceType
NONE
static ServiceType
OPENDAP
static ServiceType
OPENDAPG
static ServiceType
QC
static ServiceType
RESOLVER
static ServiceType
THREDDS
static ServiceType
UDDC
static ServiceType
WCS
static ServiceType
WebForm
static ServiceType
WFS
static ServiceType
WMS
static ServiceType
WSDL
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
ServiceType with same name are equal.static ServiceType
findType(String name)
Return the known ServiceType that matches the given name (ignoring case) or null if the name is unknown.static Collection<ServiceType>
getAllTypes()
Get all ServiceType objectsstatic ServiceType
getType(String name)
Return a ServiceType that matches the given name by either matching a known type (ignoring case) or creating an unknown type.int
hashCode()
Override Object.hashCode() to be consistent with this equals.String
toString()
Return the ServiceType name.
-
-
-
Field Detail
-
NONE
public static final ServiceType NONE
-
ADDE
public static final ServiceType ADDE
-
DODS
public static final ServiceType DODS
-
OPENDAP
public static final ServiceType OPENDAP
-
DAP4
public static final ServiceType DAP4
-
OPENDAPG
public static final ServiceType OPENDAPG
-
HTTPServer
public static final ServiceType HTTPServer
-
FTP
public static final ServiceType FTP
-
GRIDFTP
public static final ServiceType GRIDFTP
-
FILE
public static final ServiceType FILE
-
LAS
public static final ServiceType LAS
-
WMS
public static final ServiceType WMS
-
WFS
public static final ServiceType WFS
-
WCS
public static final ServiceType WCS
-
WSDL
public static final ServiceType WSDL
-
NCML
public static final ServiceType NCML
-
UDDC
public static final ServiceType UDDC
-
ISO
public static final ServiceType ISO
-
ncJSON
public static final ServiceType ncJSON
-
H5Service
public static final ServiceType H5Service
-
WebForm
public static final ServiceType WebForm
-
CATALOG
public static final ServiceType CATALOG
-
QC
public static final ServiceType QC
-
RESOLVER
public static final ServiceType RESOLVER
-
COMPOUND
public static final ServiceType COMPOUND
-
THREDDS
public static final ServiceType THREDDS
-
NetcdfSubset
public static final ServiceType NetcdfSubset
-
CdmRemote
public static final ServiceType CdmRemote
-
CdmrFeature
public static final ServiceType CdmrFeature
-
NETCDF
public static final ServiceType NETCDF
-
HTTP
public static final ServiceType HTTP
-
NetcdfServer
public static final ServiceType NetcdfServer
-
-
Method Detail
-
getAllTypes
public static Collection<ServiceType> getAllTypes()
Get all ServiceType objects- Returns:
- all ServiceType objects
-
findType
public static ServiceType findType(String name)
Return the known ServiceType that matches the given name (ignoring case) or null if the name is unknown.- Parameters:
name
- name of the desired ServiceType.- Returns:
- ServiceType or null if no match.
-
getType
public static ServiceType getType(String name)
Return a ServiceType that matches the given name by either matching a known type (ignoring case) or creating an unknown type.- Parameters:
name
- name of the desired ServiceType- Returns:
- the named ServiceType or null if given name is null.
-
hashCode
public int hashCode()
Override Object.hashCode() to be consistent with this equals.
-
-