public class MigrationStatus extends CommandLineAction
TBD Dokumentation
| Modifier and Type | Class and Description |
|---|---|
private class |
MigrationStatus.DeleteOneTimePasswords |
private class |
MigrationStatus.Problem |
private class |
MigrationStatus.RemoveFromPasswd |
private class |
MigrationStatus.SetPassword |
private class |
MigrationStatus.ToggleAdmin |
| Modifier and Type | Field and Description |
|---|---|
private java.util.List<MigrationStatus.Problem> |
_problems |
private UserManagementFileInterface |
_userManagementInterface |
private static java.util.regex.Pattern |
config_pattern |
private static java.util.regex.Pattern |
dav_pattern |
private static java.util.regex.Pattern |
param_pattern |
private static java.lang.String[] |
UNSAFE_PASSWORDS |
| Constructor and Description |
|---|
MigrationStatus(UserManagementFileInterface userManagementInterface) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
execute(ConsoleInterface console)
Führt den eigentlichen 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)
|
private void |
savePassword(ConsoleInterface console,
ClientCredentials loginToken,
java.lang.String user,
boolean alwaysSave) |
java.lang.String |
toString()
Gibt den Befehlsnamen zurück
|
dispose, execute, skipParentprivate static final java.util.regex.Pattern config_pattern
private static final java.util.regex.Pattern param_pattern
private static final java.util.regex.Pattern dav_pattern
private static final java.lang.String[] UNSAFE_PASSWORDS
private final UserManagementFileInterface _userManagementInterface
private java.util.List<MigrationStatus.Problem> _problems
public MigrationStatus(UserManagementFileInterface userManagementInterface)
protected void execute(ConsoleInterface console) throws java.lang.Exception
CommandLineActionFührt den eigentlichen Befehl aus
execute in class CommandLineActionjava.lang.Exceptionpublic void printStatus(ConsoleInterface console) throws java.lang.Exception
CommandLineActionGibt einen Text vor der Auswahl der Aktion aus (zum überschreiben)
printStatus in class CommandLineActionconsole - Konsolejava.lang.Exceptionpublic java.util.List<? extends CommandLineAction> getChildren()
CommandLineActionGibt die Kindbefehle zurück
getChildren in class CommandLineActionpublic java.lang.String toString()
CommandLineActionGibt den Befehlsnamen zurück
toString in class CommandLineActionprivate void savePassword(ConsoleInterface console, ClientCredentials loginToken, java.lang.String user, boolean alwaysSave) throws java.io.IOException
java.io.IOException