Package google.registry.tools.server
Class GenerateZoneFilesAction
- java.lang.Object
-
- google.registry.tools.server.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
Fields 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()
-
-
-
Field Detail
-
PATH
public static final java.lang.String PATH
- See Also:
- Constant Field Values
-
-
Method Detail
-
run
public void run()
- Specified by:
run
in interfacejava.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 interfaceJsonActionRunner.JsonAction
- Parameters:
json
- object extracted from request body- Returns:
- an arbitrary JSON object, which is never
null
-
-