Package ro.sync.ecss.extensions
Class AskDescriptor
- java.lang.Object
-
- ro.sync.ecss.extensions.AskDescriptor
-
@API(type=INTERNAL, src=PUBLIC) public class AskDescriptor extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description AskDescriptor(java.lang.String type, java.lang.String message, java.util.List<java.lang.String> values, java.util.List<java.lang.String> renderings, java.lang.String defaultValue)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getDefaultValue()
java.lang.String
getMessage()
java.util.List<java.lang.String>
getRenderings()
java.lang.String
getType()
java.util.List<java.lang.String>
getValues()
-
-
-
Constructor Detail
-
AskDescriptor
public AskDescriptor(java.lang.String type, java.lang.String message, java.util.List<java.lang.String> values, java.util.List<java.lang.String> renderings, java.lang.String defaultValue)
Constructor.- Parameters:
type
- The ask type.message
- The message to display.values
- The possible values of the variable.renderings
- The renderings list for the values.defaultValue
- The default value.
-
-
Method Detail
-
getMessage
public java.lang.String getMessage()
- Returns:
- Returns the message.
-
getType
public java.lang.String getType()
- Returns:
- Returns the type.
-
getValues
public java.util.List<java.lang.String> getValues()
- Returns:
- Returns the values.
-
getRenderings
public java.util.List<java.lang.String> getRenderings()
- Returns:
- Returns the renderings.
-
getDefaultValue
public java.lang.String getDefaultValue()
- Returns:
- the default value.
-
-