Class DynamicContent.InstanceAdapter

    • Constructor Detail

      • InstanceAdapter

        public InstanceAdapter​(String text)
        Creates a new instance of InstanceImpl (!) holding the result of a specific substitution of values for placeholders.
        Parameters:
        text - the content for this new InstanceImpl
    • Method Detail

      • getTimestamp

        public Date getTimestamp()
        Returns the time stamp associated with this content InstanceImpl.
        Specified by:
        getTimestamp in interface DynamicContent.Instance
        Returns:
        the Date representing when this InstanceImpl was created
      • getText

        public String getText()
        Returns the content associated with this InstanceImpl.
        Specified by:
        getText in interface DynamicContent.Instance
        Returns:
        the text content stored in the InstanceImpl