public enum ResourceType extends java.lang.Enum<ResourceType>
Enum Constant and Description |
---|
ARCHIVE
This resource is a zip file and it should be unpacked.
|
CLASSNAME
The resource is a Java class name.
|
EXECUTABLE
This resource is an executable.
|
FILE
This resource is a file.
|
INSTALL
The resource is an install script.
|
JAR
The resource is a Java jar file.
|
JDBC
The resource is a JDBC connection url.
|
OUTPUT
The resource describes output of the model service.
|
PYTHON2
The resource is a Python 2 script.
|
PYTHON3
The resource is a Python 3 script.
|
REFERENCE
This is a file reference to an existing file.
|
RSCRIPT
The resource is an R script.
|
Modifier and Type | Method and Description |
---|---|
static ResourceType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ResourceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResourceType OUTPUT
public static final ResourceType ARCHIVE
public static final ResourceType FILE
public static final ResourceType EXECUTABLE
public static final ResourceType REFERENCE
public static final ResourceType JAR
public static final ResourceType CLASSNAME
public static final ResourceType JDBC
public static final ResourceType PYTHON3
public static final ResourceType PYTHON2
public static final ResourceType RSCRIPT
public static final ResourceType INSTALL
public static ResourceType[] values()
for (ResourceType c : ResourceType.values()) System.out.println(c);
public static ResourceType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null(c) 2012-2022, OMSLab, Colorado State University.