Class FlagStatisticsSubCommand

  • All Implemented Interfaces:
    org.openstreetmap.atlas.utilities.command.abstractcommand.AtlasShellToolsMarkerInterface

    public class FlagStatisticsSubCommand
    extends org.openstreetmap.atlas.utilities.command.abstractcommand.AbstractAtlasShellToolsCommand
    This 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.
    • Field Summary

      • Fields inherited from class org.openstreetmap.atlas.utilities.command.abstractcommand.AbstractAtlasShellToolsCommand

        DEFAULT_CONTEXT, DESCRIPTION, EXAMPLES
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int execute()  
      java.lang.String getCommandName()  
      java.lang.String getSimpleDescription()  
      static void main​(java.lang.String[] args)  
      void registerManualPageSections()  
      void registerOptionsAndArguments()  
      • Methods inherited from class org.openstreetmap.atlas.utilities.command.abstractcommand.AbstractAtlasShellToolsCommand

        addCodeLineToSection, addManualPageSection, addManualPageSection, addParagraphToSection, getCommandOutputDelegate, getOptionAndArgumentDelegate, registerArgument, registerEmptyContext, registerOption, registerOption, registerOptionWithOptionalArgument, registerOptionWithOptionalArgument, registerOptionWithRequiredArgument, registerOptionWithRequiredArgument, runSubcommand, runSubcommandAndExit, setNewErrStream, setNewOutStream, setVersion, throwIfInvalidNameOrDescription
      • Methods inherited from class java.lang.Object

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

      • FlagStatisticsSubCommand

        public FlagStatisticsSubCommand()
    • Method Detail

      • main

        public static void main​(java.lang.String[] args)
      • execute

        public int execute()
        Specified by:
        execute in class org.openstreetmap.atlas.utilities.command.abstractcommand.AbstractAtlasShellToolsCommand
      • getCommandName

        public java.lang.String getCommandName()
        Specified by:
        getCommandName in class org.openstreetmap.atlas.utilities.command.abstractcommand.AbstractAtlasShellToolsCommand
      • getSimpleDescription

        public java.lang.String getSimpleDescription()
        Specified by:
        getSimpleDescription in class org.openstreetmap.atlas.utilities.command.abstractcommand.AbstractAtlasShellToolsCommand
      • registerManualPageSections

        public void registerManualPageSections()
        Specified by:
        registerManualPageSections in class org.openstreetmap.atlas.utilities.command.abstractcommand.AbstractAtlasShellToolsCommand
      • registerOptionsAndArguments

        public void registerOptionsAndArguments()
        Overrides:
        registerOptionsAndArguments in class org.openstreetmap.atlas.utilities.command.abstractcommand.AbstractAtlasShellToolsCommand