Class FlagStatisticsSubCommand
- java.lang.Object
-
- org.openstreetmap.atlas.utilities.command.abstractcommand.AbstractAtlasShellToolsCommand
-
- org.openstreetmap.atlas.checks.commands.FlagStatisticsSubCommand
-
- All Implemented Interfaces:
org.openstreetmap.atlas.utilities.command.abstractcommand.AtlasShellToolsMarkerInterface
public class FlagStatisticsSubCommand extends org.openstreetmap.atlas.utilities.command.abstractcommand.AbstractAtlasShellToolsCommandThis command takes a folder of directories of atlas-checks log files and counts the number of flags per country per check. It optionally takes a second folder and returns the difference between the inputs.
-
-
Constructor Summary
Constructors Constructor Description FlagStatisticsSubCommand()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intexecute()java.lang.StringgetCommandName()java.lang.StringgetSimpleDescription()static voidmain(java.lang.String[] args)voidregisterManualPageSections()voidregisterOptionsAndArguments()-
Methods inherited from class org.openstreetmap.atlas.utilities.command.abstractcommand.AbstractAtlasShellToolsCommand
addCodeLineToSection, addManualPageSection, addManualPageSection, addParagraphToSection, forceExit, getCommandOutputDelegate, getEnvironmentValue, getErrStream, getFileSystem, getInStream, getMaximumColumn, getOptionAndArgumentDelegate, getOutStream, getTTYStringBuilderForStderr, getTTYStringBuilderForStdout, registerArgument, registerEmptyContext, registerManualPageSectionsFromTemplate, registerOption, registerOption, registerOptionsAndArgumentsFromTemplate, registerOptionWithOptionalArgument, registerOptionWithOptionalArgument, registerOptionWithRequiredArgument, registerOptionWithRequiredArgument, runSubcommand, runSubcommandAndExit, setNewEnvironment, setNewErrStream, setNewFileSystem, setNewInStream, setNewOutStream, setVersion, throwIfInvalidNameOrDescription
-
-
-
-
Method Detail
-
main
public static void main(java.lang.String[] args)
-
execute
public int execute()
- Specified by:
executein classorg.openstreetmap.atlas.utilities.command.abstractcommand.AbstractAtlasShellToolsCommand
-
getCommandName
public java.lang.String getCommandName()
- Specified by:
getCommandNamein classorg.openstreetmap.atlas.utilities.command.abstractcommand.AbstractAtlasShellToolsCommand
-
getSimpleDescription
public java.lang.String getSimpleDescription()
- Specified by:
getSimpleDescriptionin classorg.openstreetmap.atlas.utilities.command.abstractcommand.AbstractAtlasShellToolsCommand
-
registerManualPageSections
public void registerManualPageSections()
- Specified by:
registerManualPageSectionsin classorg.openstreetmap.atlas.utilities.command.abstractcommand.AbstractAtlasShellToolsCommand
-
registerOptionsAndArguments
public void registerOptionsAndArguments()
- Overrides:
registerOptionsAndArgumentsin classorg.openstreetmap.atlas.utilities.command.abstractcommand.AbstractAtlasShellToolsCommand
-
-