Class ActionParameter.StringActionParameter

    • Constructor Summary

      Constructors 
      Constructor Description
      StringActionParameter​(java.lang.String name)
      Constructs a new StringActionParameter.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Class<java.lang.String> getType()
      Get the value type of this action parameter.
      java.lang.String readFromString​(java.lang.String s)
      Create a value from the given string representation (deserialization).
      java.lang.String writeToString​(java.lang.String value)
      Convert a given value into a string (serialization).
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • StringActionParameter

        public StringActionParameter​(java.lang.String name)
        Constructs a new StringActionParameter.
        Parameters:
        name - parameter name (the key)
    • Method Detail

      • getType

        public java.lang.Class<java.lang.String> getType()
        Description copied from class: ActionParameter
        Get the value type of this action parameter.
        Specified by:
        getType in class ActionParameter<java.lang.String>
        Returns:
        the value type of this action parameter
      • readFromString

        public java.lang.String readFromString​(java.lang.String s)
        Description copied from class: ActionParameter
        Create a value from the given string representation (deserialization).
        Specified by:
        readFromString in class ActionParameter<java.lang.String>
        Parameters:
        s - the string representation of the value
        Returns:
        the corresponding value object
      • writeToString

        public java.lang.String writeToString​(java.lang.String value)
        Description copied from class: ActionParameter
        Convert a given value into a string (serialization).
        Specified by:
        writeToString in class ActionParameter<java.lang.String>
        Parameters:
        value - the value
        Returns:
        a string representation of the value