Class BasicConfigHistory

    • Field Detail

      • version

        protected int version
      • timestamp

        protected long timestamp
        This is the time when the config was changed
      • source

        protected String source
      • value

        protected Object value
        This is the previous value of the config (the value from before the timestamp)
      • secured

        protected boolean secured
    • Constructor Detail

      • BasicConfigHistory

        public BasicConfigHistory​(int version,
                                  String source,
                                  Object value)
        Make a basic history config to store in the history of a config item
        Parameters:
        version - the version (always > 0)
        source - the source name (default to UNKNOWN)
        value - the previous config value
      • BasicConfigHistory

        protected BasicConfigHistory​(int version,
                                     long timestamp,
                                     String source,
                                     Object value)