Class GenerateZoneFilesAction

  • All Implemented Interfaces:
    JsonActionRunner.JsonAction, java.lang.Runnable

    public class GenerateZoneFilesAction
    extends java.lang.Object
    implements java.lang.Runnable, JsonActionRunner.JsonAction
    Action that requests generation of BIND zone files for a set of TLDs at a given time.

    Zone files for each requested TLD are written to GCS. TLDs without entries produce zone files with only a header. The export time must be at least two minutes in the past and no more than 29 days in the past, and must be at midnight UTC.

    • Field Summary

      Modifier and Type Field Description
      static java.lang.String PATH  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Map<java.lang.String,​java.lang.Object> handleJsonRequest​(java.util.Map<java.lang.String,​?> json)
      Handles JSON HTTP request.
      void run()  
      • Methods inherited from class java.lang.Object

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

      • run

        public void run()
        Specified by:
        run in interface java.lang.Runnable
      • handleJsonRequest

        public java.util.Map<java.lang.String,​java.lang.Object> handleJsonRequest​(java.util.Map<java.lang.String,​?> json)
        Description copied from interface: JsonActionRunner.JsonAction
        Handles JSON HTTP request.
        Specified by:
        handleJsonRequest in interface JsonActionRunner.JsonAction
        json - object extracted from request body
        an arbitrary JSON object, which is never null