Enum RulesLoadResult.Reason
-
- All Implemented Interfaces:
public enum RulesLoadResult.ReasonRepresents the reason why the downloaded data is returned as such
-
-
Enum Constant Summary
Enum Constants Enum Constant Description INVALID_SOURCEThe requested download source is invalid. Example: Invalid url, non-existent asset
ZIP_EXTRACTION_FAILEDExtraction of the rules zip file failed.
CANNOT_CREATE_TEMP_DIRContent cannot be written into the cache directory used by
RulesLoaderCANNOT_STORE_IN_TEMP_DIRContent cannot be written into a temp directory used by
RulesLoaderNOT_MODIFIEDRequested content has not been modified at source.
NO_DATAThe requested rules were not found.
SUCCESS
-
Method Summary
Modifier and Type Method Description static Array<RulesLoadResult.Reason>values()Returns an array containing the constants of this enum type, in the order they're declared. static RulesLoadResult.ReasonvalueOf(String name)Returns the enum constant of this type with the specified name. -
-
Method Detail
-
values
static Array<RulesLoadResult.Reason> values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.
- Returns:
an array containing the constants of this enum type, in the order they're declared
-
valueOf
static RulesLoadResult.Reason 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.)
- Returns:
the enum constant with the specified name
-
-
-
-