Class SystemTimeDataGenerator

  • All Implemented Interfaces:
    DataGenerator, org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanNameAware, org.springframework.beans.factory.InitializingBean

    public class SystemTimeDataGenerator
    extends AbstractDataGenerator
    Gives back the currently time.
    Since:
    3.2
    Author:
    Derek Hulley
    • Constructor Detail

      • SystemTimeDataGenerator

        public SystemTimeDataGenerator()
    • Method Detail

      • getData

        public java.io.Serializable getData()
                                     throws java.lang.Throwable
        Description copied from interface: DataGenerator
        Get the data generated by the instance.
        Returns:
        Returns the current time
        Throws:
        java.lang.Throwable - All exceptions are handled by the framework