Package tv.hd3g.jobkit.watchfolder
Enum RetryScanPolicyOnUserError
- java.lang.Object
-
- java.lang.Enum<RetryScanPolicyOnUserError>
-
- tv.hd3g.jobkit.watchfolder.RetryScanPolicyOnUserError
-
- All Implemented Interfaces:
Serializable,Comparable<RetryScanPolicyOnUserError>
public enum RetryScanPolicyOnUserError extends Enum<RetryScanPolicyOnUserError>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description IGNORE_FOUNDED_FILELet founded file in database, but don't resend it to FolderActivity.onAfterScanRETRY_FOUNDED_FILEReset status for founded file in database: it will be resend to FolderActivity.onAfterScan (and we hope that's time, the user process will be ok)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RetryScanPolicyOnUserErrorvalueOf(String name)Returns the enum constant of this type with the specified name.static RetryScanPolicyOnUserError[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
IGNORE_FOUNDED_FILE
public static final RetryScanPolicyOnUserError IGNORE_FOUNDED_FILE
Let founded file in database, but don't resend it to FolderActivity.onAfterScan
-
RETRY_FOUNDED_FILE
public static final RetryScanPolicyOnUserError RETRY_FOUNDED_FILE
Reset status for founded file in database: it will be resend to FolderActivity.onAfterScan (and we hope that's time, the user process will be ok)
-
-
Method Detail
-
values
public static RetryScanPolicyOnUserError[] 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 (RetryScanPolicyOnUserError c : RetryScanPolicyOnUserError.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RetryScanPolicyOnUserError 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 nameNullPointerException- if the argument is null
-
-