Enum Class Asset.AssetFileSource

java.lang.Object
java.lang.Enum<Asset.AssetFileSource>
mc.core.model.asset.Asset.AssetFileSource
All Implemented Interfaces:
Serializable, Comparable<Asset.AssetFileSource>, Constable
Enclosing class:
Asset

public static enum Asset.AssetFileSource extends Enum<Asset.AssetFileSource>
  • Enum Constant Details

    • STORE

      public static final Asset.AssetFileSource STORE
      asset file is in internal content store. fileId is the reference to file in store
    • FILE

      public static final Asset.AssetFileSource FILE
      asset file is in external file system. fileId will get prefixed with file:// if not already
    • HTTP

      public static final Asset.AssetFileSource 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

      public static final Asset.AssetFileSource 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

      public static final Asset.AssetFileSource 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

      public static final Asset.AssetFileSource GENERIC
      asset file is on an external generic resource. custom code is needed to implement specific protocol or access
  • Method Details

    • values

      public static Asset.AssetFileSource[] 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

      public static Asset.AssetFileSource valueOf(String name)
      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 name
      NullPointerException - if the argument is null