Enum Scene7AssetType

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<Scene7AssetType>

    public enum Scene7AssetType
    extends java.lang.Enum<Scene7AssetType>
    Defines the Scene7 asset types.
    • Method Detail

      • values

        public static Scene7AssetType[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (Scene7AssetType c : Scene7AssetType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static Scene7AssetType valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • getValue

        public java.lang.String getValue()
      • toScene7AssetType

        public static Scene7AssetType toScene7AssetType​(java.lang.String type)
        Tries to match the given type string to the actual enum
        Parameters:
        type - String representing the asset type
        Returns:
        The Enum representing the asset type, if the match is successful If the match is not successful, the GENERIC type will be returned