Enum TemplateFilter

    • Enum Constant Detail

      • FEATURED

        public static final TemplateFilter FEATURED
        templates that are featured and are public
      • SELF

        public static final TemplateFilter SELF
        templates that have been registered/created by the owner
      • SELF_EXECUTABLE

        public static final TemplateFilter SELF_EXECUTABLE
        templates that have been registered/created by the owner that can be used to deploy a new VM
      • SELFEXECUTABLE

        public static final TemplateFilter SELFEXECUTABLE
        templates that have been registered/created by the owner that can be used to deploy a new VM - 3.x filter value.
      • SHAREDEXECUTABLE

        public static final TemplateFilter SHAREDEXECUTABLE
        templates that have been granted to the calling user by another user
      • EXECUTABLE

        public static final TemplateFilter EXECUTABLE
        all templates that can be used to deploy a new VM
      • COMMUNITY

        public static final TemplateFilter COMMUNITY
        templates that are public
    • Method Detail

      • values

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

        public static TemplateFilter valueOf​(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:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null