From 4e91f37a405ab55a3fa3e6c5e67962661e55fd62 Mon Sep 17 00:00:00 2001 From: fdai5728 Date: Wed, 16 Feb 2022 16:45:24 +0100 Subject: [PATCH] Implements an Interface with basic functions Defines New Credential function signature --- src/main/java/CredentialInterface.java | 11 ----------- src/main/java/CredentialRepositoryInterface.java | 11 +++++++++++ 2 files changed, 11 insertions(+), 11 deletions(-) delete mode 100644 src/main/java/CredentialInterface.java create mode 100644 src/main/java/CredentialRepositoryInterface.java diff --git a/src/main/java/CredentialInterface.java b/src/main/java/CredentialInterface.java deleted file mode 100644 index f6e0ead..0000000 --- a/src/main/java/CredentialInterface.java +++ /dev/null @@ -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(); - -} diff --git a/src/main/java/CredentialRepositoryInterface.java b/src/main/java/CredentialRepositoryInterface.java new file mode 100644 index 0000000..055b59e --- /dev/null +++ b/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(); + +}