Enum Template.Status

    • Enum Constant Detail

      • UNKNOWN

        public static final Template.Status UNKNOWN
        status of download is not known. Example - When the job for downloading doesn't exist during progress check.
      • ABANDONED

        public static final Template.Status ABANDONED
        the download has been cancelled/aborted.
      • DOWNLOAD_ERROR

        public static final Template.Status DOWNLOAD_ERROR
        the download has reached an error state. Example - there is not route to ssvm agent
      • NOT_DOWNLOADED

        public static final Template.Status NOT_DOWNLOADED
        the download hasn't started.
      • DOWNLOAD_IN_PROGRESS

        public static final Template.Status DOWNLOAD_IN_PROGRESS
        the download is in progress
      • DOWNLOADED

        public static final Template.Status DOWNLOADED
        the resource has been downloaded on secondary storage.
      • UPLOADED

        public static final Template.Status UPLOADED
        the resource has been uploaded
      • NOT_UPLOADED

        public static final Template.Status NOT_UPLOADED
        the resource upload work hasn't started yet
      • UPLOAD_ERROR

        public static final Template.Status UPLOAD_ERROR
        the resource upload has reached error.
      • UPLOAD_IN_PROGRESS

        public static final Template.Status UPLOAD_IN_PROGRESS
        the resource upload is in progress.
    • Method Detail

      • values

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

        public static Template.Status 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