ChooseConfiguration, EditUser, MigrationStatus, NewUser, SrpUtilitiesAction, UserList, UserManagement, UserManagementWithDav, UserManagementWithFilepublic abstract class CommandLineAction
extends java.lang.Object
| Constructor | Description |
|---|---|
CommandLineAction() |
| Modifier and Type | Method | Description |
|---|---|---|
protected void |
dispose(ConsoleInterface console) |
Wird aufgerufen wenn der Befehl verlassen wird
|
protected void |
execute(ConsoleInterface console) |
Führt den eigentlichen Befehl aus
|
void |
execute(ConsoleInterface console,
CommandLineAction parent) |
Führt den Befehl aus
|
java.util.List<? extends CommandLineAction> |
getChildren() |
Gibt die Kindbefehle zurück
|
void |
printStatus(ConsoleInterface console) |
Gibt einen Text vor der Auswahl der Aktion aus (zum überschreiben)
|
void |
skipParent() |
|
abstract java.lang.String |
toString() |
Gibt den Befehlsnamen zurück
|
public final void execute(ConsoleInterface console, CommandLineAction parent)
console - Konsoleparent - Übergeordneter Befehl oder null falls es sich um die "Wurzel" handelt.public void printStatus(ConsoleInterface console) throws java.lang.Exception
console - Konsolejava.lang.Exception - Beliebige Exceptionprotected void execute(ConsoleInterface console) throws java.lang.Exception
console - Konsolejava.lang.Exception - Beliebige Exceptionprotected void dispose(ConsoleInterface console) throws java.lang.Exception
console - Konsolejava.lang.Exception - Beliebige Exceptionpublic abstract java.lang.String toString()
toString in class java.lang.Objectpublic java.util.List<? extends CommandLineAction> getChildren()
public final void skipParent()