Package be.panako.cli
Class Stats
java.lang.Object
be.panako.cli.Application
be.panako.cli.Stats
public class Stats extends Application
Shows some statistics about the storage.
- Author:
- Joren Six
-
Constructor Summary
Constructors Constructor Description Stats() -
Method Summary
Modifier and Type Method Description java.lang.Stringdescription()booleanneedsStorage()voidrun(java.lang.String... args)java.lang.Stringsynopsis()The synopsis is a short description of the required or optional arguments.booleanwritesToStorage()Methods inherited from class be.panako.cli.Application
availableProcessors, getFilesFromArguments, name, printHelpMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Stats
public Stats()
-
-
Method Details
-
run
public void run(java.lang.String... args)- Specified by:
runin classApplication- Parameters:
args- The arguments to start the program.
-
description
public java.lang.String description()- Specified by:
descriptionin classApplication- Returns:
- The description of the application. What does it do?
-
synopsis
public java.lang.String synopsis()Description copied from class:ApplicationThe synopsis is a short description of the required or optional arguments.- Specified by:
synopsisin classApplication- Returns:
- The command line synopsis.
-
needsStorage
public boolean needsStorage()- Specified by:
needsStoragein classApplication- Returns:
- True if this application needs the storage, false otherwise.
-
writesToStorage
public boolean writesToStorage()- Specified by:
writesToStoragein classApplication- Returns:
- true if this application writes to storage.
-