Browse Source

Implements an Interface with basic functions

Defines New Credential function signature
feature-serializer
fdai5728 3 years ago
committed by fdai6352
parent
commit
4e91f37a40
  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