Class PromptConnectionOptionValue
java.lang.Object
de.xima.fc.prompt.mgmt.gui.model.PromptConnectionOptionValue
- All Implemented Interfaces:
Serializable
Represents a prompt connection option that the user can select. Used by the prompt query UI, which requires the user
to select a connection to use for executing the query.
- Since:
- 8.5.0
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic PromptConnectionOptionValueconnection(PromptObjectIdentifier connection) Creates a new connection option value that represents a specific connection.static PromptConnectionOptionValueconnection(PromptScope assignee, UUID connection) Creates a new connection option value that represents a specific connection.booleangetValue()static PromptConnectionOptionValueCreates a new group option value that groups connections of the given type.inthashCode()booleanisGroup()toString()
-
Method Details
-
equals
-
getValue
-
getValueAsConnection
-
getValueAsGroup
-
hashCode
-
isGroup
public boolean isGroup() -
toString
-
connection
Creates a new connection option value that represents a specific connection.- Parameters:
assignee- The assignee of the connection.connection- The UUID of the connection.- Returns:
- The connection option value.
-
connection
Creates a new connection option value that represents a specific connection.- Parameters:
connection- The connection reference.- Returns:
- The connection option value.
-
group
Creates a new group option value that groups connections of the given type.- Parameters:
type- The group type.- Returns:
- The group option value.
-