Enum GuideConstants.GUIDE_ASSETS

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<GuideConstants.GUIDE_ASSETS>
    Enclosing class:
    GuideConstants

    public static enum GuideConstants.GUIDE_ASSETS
    extends java.lang.Enum<GuideConstants.GUIDE_ASSETS>
    Enum to list assets referenced by guides. This enum has to be in sync with GuideCommonAuthoring.js(AuthorUtils.js)#GUIDE_ASSETS. Whenever this enum changes client side enum should be changed accordingly.
    • Method Detail

      • values

        public static GuideConstants.GUIDE_ASSETS[] 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 (GuideConstants.GUIDE_ASSETS c : GuideConstants.GUIDE_ASSETS.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static GuideConstants.GUIDE_ASSETS 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
      • getAsset

        public java.lang.String getAsset()