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, skipParent
private 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
CommandLineAction
Führt den eigentlichen Befehl aus
execute
in class CommandLineAction
java.lang.Exception
public void printStatus(ConsoleInterface console) throws java.lang.Exception
CommandLineAction
Gibt einen Text vor der Auswahl der Aktion aus (zum überschreiben)
printStatus
in class CommandLineAction
console
- Konsolejava.lang.Exception
public java.util.List<? extends CommandLineAction> getChildren()
CommandLineAction
Gibt die Kindbefehle zurück
getChildren
in class CommandLineAction
public java.lang.String toString()
CommandLineAction
Gibt den Befehlsnamen zurück
toString
in class CommandLineAction
private void savePassword(ConsoleInterface console, ClientCredentials loginToken, java.lang.String user, boolean alwaysSave) throws java.io.IOException
java.io.IOException