Browse Source

Implements an Interface with basic functions

Defines New Credential function signature
feature-credentialneu
fdai5728 3 years ago
parent
commit
353de7a025
  1. 11
      src/main/java/CredentialInterface.java
  2. 11
      src/main/java/CredentialRepositoryInterface.java

11
src/main/java/CredentialInterface.java

@ -1,11 +0,0 @@
public interface CredentialInterface {
public void show();
public void edit();
public void delete();
public void getCredentials();
public void setCredentials();
public void getAsJSON();
public void loadCredentialsFromJSON();
}

11
src/main/java/CredentialRepositoryInterface.java

@ -0,0 +1,11 @@
public interface CredentialRepositoryInterface {
void createNewCredential(String name, String password);
void edit();
void delete();
void getCredentials();
void setCredentials();
void getAsJSON();
void loadCredentialsFromJSON();
}
Loading…
Cancel
Save