Package google.registry.tools.server
Class GenerateZoneFilesAction
java.lang.Object
google.registry.tools.server.GenerateZoneFilesAction
- All Implemented Interfaces:
JsonActionRunner.JsonAction
,Runnable
public class GenerateZoneFilesAction
extends Object
implements 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
-
Method Summary
-
Field Details
-
PATH
- See Also:
-
-
Method Details
-
run
public void run() -
handleJsonRequest
Description copied from interface:JsonActionRunner.JsonAction
Handles JSON HTTP request.- Specified by:
handleJsonRequest
in interfaceJsonActionRunner.JsonAction
- Parameters:
json
- object extracted from request body- Returns:
- an arbitrary JSON object, which is never
null
-