Enum Class AppGyroFileUploaderService.NoticeText
java.lang.Object
java.lang.Enum<AppGyroFileUploaderService.NoticeText>
com.iizix.server.gyro.AppGyroFileUploaderService.NoticeText
- All Implemented Interfaces:
IEnumLocaleString, Serializable, Comparable<AppGyroFileUploaderService.NoticeText>, Constable
- Enclosing class:
AppGyroFileUploaderService
public static enum AppGyroFileUploaderService.NoticeText extends Enum<AppGyroFileUploaderService.NoticeText> implements IEnumLocaleString
The texts of the failure notice (A1-10, CC-UPLOAD-C1): looked up by their text IDs,
"srv.upload_" followed by the constant's name, in the text tables of the session the notice is shown in, through IEnumLocaleString; the English text is the fallback. An App translates the notice by defining these IDs in its text tables.{} is replaced by the values in order, as fill does.
- Author:
- Christopher Mindus
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E>Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe text for several files; the{}are the number of files and the reason.The text for one file;{}is the reason.Ends a list cut atNOTICE_MAX_NAMESnames;{}is the number of files not named.The reasondisposed.The reasonidle.The reasonmaxPause.The reasonstart.The title of the message box.Field Summary
FieldsMethod Summary
Methods inherited from class Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfMethods inherited from interface IEnumLocaleString
asString, asString, asString, name, ordinal, valuesList
Enum Constant Details
Title
The title of the message box.CancelledOne
The text for one file;{}is the reason.CancelledMany
The text for several files; the{}are the number of files and the reason.ReasonIdle
The reasonidle.ReasonStart
The reasonstart.ReasonMaxPause
The reasonmaxPause.ReasonDisposed
The reasondisposed.More
Ends a list cut atNOTICE_MAX_NAMESnames;{}is the number of files not named.
Field Details
PREFIX
id
fallback
The English text.
Method Details
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
getID
Description copied from interface:IEnumLocaleStringGets the text ID.- Specified by:
getIDin interfaceIEnumLocaleString- Returns:
- The text ID string.
getFallback
Description copied from interface:IEnumLocaleStringGets the fallback String.- Specified by:
getFallbackin interfaceIEnumLocaleString- Returns:
- The fallback string.