Class Decorations

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.util.List<java.lang.String> args  
      private boolean hardReset  
    • Constructor Summary

      Constructors 
      Constructor Description
      Decorations()  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static void main​(java.lang.String[] args)  
      int run()
      Runs the command and returns an exit code that the application should return
      • Methods inherited from class java.lang.Object

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

      • args

        @Arguments(description="Provides the example text to use")
        private java.util.List<java.lang.String> args
      • hardReset

        @Option(name="--reset",
                description="When set rather than outputting decorated text only the relevant escape sequence for hard resetting your terminal is output.  This is useful if you\'ve used one of the decoration demos that uses features your terminal does not support and have got your terminal in a strange decoration state as a result")
        private boolean hardReset
    • Constructor Detail

      • Decorations

        public Decorations()
    • Method Detail

      • main

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

        public int run()
        Description copied from interface: ExampleRunnable
        Runs the command and returns an exit code that the application should return
        Specified by:
        run in interface ExampleRunnable
        Returns:
        Exit code