Package io.guise.framework.platform.web
Enum AbstractWebPlatformFileCollectorDepictor.WebPlatformFileCollectorCommand
java.lang.Object
java.lang.Enum<AbstractWebPlatformFileCollectorDepictor.WebPlatformFileCollectorCommand>
io.guise.framework.platform.web.AbstractWebPlatformFileCollectorDepictor.WebPlatformFileCollectorCommand
- All Implemented Interfaces:
com.globalmentor.lex.Identifier
,com.globalmentor.lex.Token
,PlatformCommand
,WebPlatformCommand
,Serializable
,Comparable<AbstractWebPlatformFileCollectorDepictor.WebPlatformFileCollectorCommand>
- Enclosing class:
- AbstractWebPlatformFileCollectorDepictor
public static enum AbstractWebPlatformFileCollectorDepictor.WebPlatformFileCollectorCommand
extends Enum<AbstractWebPlatformFileCollectorDepictor.WebPlatformFileCollectorCommand>
implements WebPlatformCommand
The web commands for controlling the platform file collector.
-
Enum Constant Summary
Enum ConstantDescriptionThe command to allow the user to browse to select a file.The command to cancel a transfer.The command to initiate an upload. -
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this type with the specified name.values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
FILE_BROWSE
public static final AbstractWebPlatformFileCollectorDepictor.WebPlatformFileCollectorCommand FILE_BROWSEThe command to allow the user to browse to select a file. parameters:"multiple":"multiple"}
-
FILE_CANCEL
public static final AbstractWebPlatformFileCollectorDepictor.WebPlatformFileCollectorCommand FILE_CANCELThe command to cancel a transfer. parameters:{"id":"fileReferenceID"}
-
FILE_UPLOAD
public static final AbstractWebPlatformFileCollectorDepictor.WebPlatformFileCollectorCommand FILE_UPLOADThe command to initiate an upload. parameters:{"id":"fileReferenceID", "destinationURI":destinationURI}
-
-
Field Details
-
DESTINATION_URI_PROPERTY
The property for specifying the destination URI of a file upload.- See Also:
-
ID_PROPERTY
The property for specifying the ID of a file.- See Also:
-
MULTIPLE_PROPERTY
The property for specifying whether multiple files should be selected.- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AbstractWebPlatformFileCollectorDepictor.WebPlatformFileCollectorCommand 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
-