GUACAMOLE-5: Implement QUERY_PARAMETER field type.

This commit is contained in:
Michael Jumper
2016-04-20 12:06:40 -07:00
parent 0f49c39ed4
commit ad50a77293
2 changed files with 24 additions and 10 deletions

View File

@@ -99,6 +99,12 @@ public class Field {
*/ */
public static String TIME = "TIME"; public static String TIME = "TIME";
/**
* An HTTP query parameter which is expected to be embedded in the URL
* given to a user.
*/
public static String QUERY_PARAMETER = "QUERY_PARAMETER";
} }
/** /**

View File

@@ -73,7 +73,7 @@ angular.module('rest').factory('Field', [function defineField() {
* *
* @type String * @type String
*/ */
TEXT : "TEXT", TEXT : 'TEXT',
/** /**
* The type string associated with parameters that may contain an * The type string associated with parameters that may contain an
@@ -82,7 +82,7 @@ angular.module('rest').factory('Field', [function defineField() {
* *
* @type String * @type String
*/ */
USERNAME : "USERNAME", USERNAME : 'USERNAME',
/** /**
* The type string associated with parameters that may contain an * The type string associated with parameters that may contain an
@@ -91,7 +91,7 @@ angular.module('rest').factory('Field', [function defineField() {
* *
* @type String * @type String
*/ */
PASSWORD : "PASSWORD", PASSWORD : 'PASSWORD',
/** /**
* The type string associated with parameters that may contain only * The type string associated with parameters that may contain only
@@ -99,7 +99,7 @@ angular.module('rest').factory('Field', [function defineField() {
* *
* @type String * @type String
*/ */
NUMERIC : "NUMERIC", NUMERIC : 'NUMERIC',
/** /**
* The type string associated with parameters that may contain only a * The type string associated with parameters that may contain only a
@@ -110,7 +110,7 @@ angular.module('rest').factory('Field', [function defineField() {
* *
* @type String * @type String
*/ */
BOOLEAN : "BOOLEAN", BOOLEAN : 'BOOLEAN',
/** /**
* The type string associated with parameters that may contain a * The type string associated with parameters that may contain a
@@ -118,7 +118,7 @@ angular.module('rest').factory('Field', [function defineField() {
* *
* @type String * @type String
*/ */
ENUM : "ENUM", ENUM : 'ENUM',
/** /**
* The type string associated with parameters that may contain any * The type string associated with parameters that may contain any
@@ -126,7 +126,7 @@ angular.module('rest').factory('Field', [function defineField() {
* *
* @type String * @type String
*/ */
MULTILINE : "MULTILINE", MULTILINE : 'MULTILINE',
/** /**
* The type string associated with parameters that may contain timezone * The type string associated with parameters that may contain timezone
@@ -135,7 +135,7 @@ angular.module('rest').factory('Field', [function defineField() {
* *
* @type String * @type String
*/ */
TIMEZONE : "TIMEZONE", TIMEZONE : 'TIMEZONE',
/** /**
* The type string associated with parameters that may contain dates. * The type string associated with parameters that may contain dates.
@@ -143,7 +143,7 @@ angular.module('rest').factory('Field', [function defineField() {
* *
* @type String * @type String
*/ */
DATE : "DATE", DATE : 'DATE',
/** /**
* The type string associated with parameters that may contain times. * The type string associated with parameters that may contain times.
@@ -152,7 +152,15 @@ angular.module('rest').factory('Field', [function defineField() {
* *
* @type String * @type String
*/ */
TIME : "TIME" TIME : 'TIME',
/**
* An HTTP query parameter which is expected to be embedded in the URL
* given to a user.
*
* @type String
*/
QUERY_PARAMETER : 'QUERY_PARAMETER'
}; };