Package mc.core.model.asset
Enum Class Asset.AssetFileSource
- All Implemented Interfaces:
Serializable,Comparable<Asset.AssetFileSource>,Constable
- Enclosing class:
- Asset
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionasset file is in external file system.asset file is on an external FTP server and can be addressed by a FTP URL.asset file is on an external generic resource.asset file is on an external web storage and can be addressed by a URL.asset file is on an external web storage and can be addressed by a URL.asset file is in internal content store. -
Method Summary
Modifier and TypeMethodDescriptionstatic Asset.AssetFileSourceReturns the enum constant of this class with the specified name.static Asset.AssetFileSource[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
STORE
asset file is in internal content store. fileId is the reference to file in store -
FILE
asset file is in external file system. fileId will get prefixed with file:// if not already -
HTTP
asset file is on an external web storage and can be addressed by a URL. fileId will get prefixed with http:// if not already -
HTTPS
asset file is on an external web storage and can be addressed by a URL. fileId will get prefixed with https:// if not already -
FTP
asset file is on an external FTP server and can be addressed by a FTP URL. fileId will get prefixed with ftp:// if not already -
GENERIC
asset file is on an external generic resource. custom code is needed to implement specific protocol or access
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-