Enum IssueEx.FetchStatus

    • Method Detail

      • values

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

        public static IssueEx.FetchStatus 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
      • isFetched

        public boolean isFetched()
        Returns whether the issue is fetched (loaded) to cache, i.e. can be retrieved fast.
        Returns:
        true if the issue is cached
      • isFailedToFetch

        public boolean isFailedToFetch()
        Returns whether the issue is not fetched (loaded), but the error is stored in a cache.
        Returns:
        true if the issue error is cached
      • isNotFetched

        public boolean isNotFetched()
        Returns whether the issue is not in any cache.
        Returns:
        true if the issue is not cached