Class ConfigFlags

  • All Implemented Interfaces:
    HasRoles

    public class ConfigFlags
    extends java.lang.Object
    implements HasRoles
    • Constructor Summary

      Constructors 
      Constructor Description
      ConfigFlags()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean dumpConfig​(Config config, java.io.PrintStream dumpTo)  
      boolean dumpConfigHelp​(Config config, java.util.Set<Role> currentRoles, java.io.PrintStream dumpTo)  
      java.util.Set<Role> getRoles()
      Obtains the set of commands that this set of flags applies to.
      Config readConfigFiles()  
      • Methods inherited from class java.lang.Object

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

      • ConfigFlags

        public ConfigFlags()
    • Method Detail

      • getRoles

        public java.util.Set<Role> getRoles()
        Description copied from interface: HasRoles
        Obtains the set of commands that this set of flags applies to. Examples include things like "distributor", "session-map". Maps to CliCommand.getName()
        Specified by:
        getRoles in interface HasRoles
        Returns:
      • readConfigFiles

        public Config readConfigFiles()
      • dumpConfig

        public boolean dumpConfig​(Config config,
                                  java.io.PrintStream dumpTo)
      • dumpConfigHelp

        public boolean dumpConfigHelp​(Config config,
                                      java.util.Set<Role> currentRoles,
                                      java.io.PrintStream dumpTo)