From 3c1e373f9fdf83da4b2083101c77a664ea756091 Mon Sep 17 00:00:00 2001 From: Jakob Heher Date: Thu, 7 Jul 2022 12:57:59 +0200 Subject: YAGNI: the four different Config* interfaces that are only implemented once --- .../workflow/config/ConfigOverlayManipulator.java | 140 --------------------- 1 file changed, 140 deletions(-) delete mode 100644 pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/config/ConfigOverlayManipulator.java (limited to 'pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/config/ConfigOverlayManipulator.java') diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/config/ConfigOverlayManipulator.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/config/ConfigOverlayManipulator.java deleted file mode 100644 index 9c82845d..00000000 --- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/config/ConfigOverlayManipulator.java +++ /dev/null @@ -1,140 +0,0 @@ -/* - * Copyright 2012 by A-SIT, Secure Information Technology Center Austria - * - * Licensed under the EUPL, Version 1.1 or - as soon they will be approved by - * the European Commission - subsequent versions of the EUPL (the "Licence"); - * You may not use this work except in compliance with the Licence. - * You may obtain a copy of the Licence at: - * http://joinup.ec.europa.eu/software/page/eupl - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the Licence is distributed on an "AS IS" basis, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the Licence for the specific language governing permissions and - * limitations under the Licence. - */ -package at.asit.pdfover.gui.workflow.config; - -import at.asit.pdfover.signator.BKUs; -import at.asit.pdfover.signator.SignaturePosition; - -/** - * An interface for setting the configuration overlay - * - * This overlay overrides the actual configuration but will not be saved - */ -public interface ConfigOverlayManipulator { - /** - * Sets the default bku type - * @param bku the bku type - */ - public void setDefaultBKUOverlay(BKUs bku); - - /** - * Sets the default mobile number - * @param number the default mobile number - */ - public void setDefaultMobileNumberOverlay(String number); - - /** - * Sets the default password - * @param password the default password - */ - public void setDefaultMobilePasswordOverlay(String password); - - /** - * Sets the default emblem - * @param emblem the default emblem - */ - public void setDefaultEmblemOverlay(String emblem); - - /** - * Sets the proxy host - * @param host the proxy host - */ - public void setProxyHostOverlay(String host); - - /** - * Sets the proxy port - * @param port the proxy port - */ - public void setProxyPortOverlay(int port); - - /** - * Sets the proxy username - * @param user the proxy username - */ - public void setProxyUserOverlay(String user); - - /** - * Sets the proxy password - * @param pass the proxy password - */ - public void setProxyPassOverlay(String pass); - - /** - * Sets the default output folder - * @param outputFolder the default output folder - */ - public void setDefaultOutputFolderOverlay(String outputFolder); - - /** - * Sets the signature position - * @param position the signature position - */ - public void setDefaultSignaturePositionOverlay(SignaturePosition position); - - /** - * Sets whether to skip the finish screen - * @param skipFinish whether to skip the finish screen - */ - public void setSkipFinishOverlay(boolean skipFinish); - - /** - * Sets whether keystore signing is enabled - * @param enabled whether keystore signing is enabled - */ - public void setKeyStoreEnabledOverlay(Boolean enabled); - - /** - * Sets the keystore file - * @param file the keystore file - */ - public void setKeyStoreFileOverlay(String file); - - /** - * Sets the keystore type - * @param type the keystore type - */ - public void setKeyStoreTypeOverlay(String type); - - /** - * Sets the keystore alias - * @param alias the keystore alias - */ - public void setKeyStoreAliasOverlay(String alias); - - /** - * Sets the keystore store password - * @param storePass the keystore store password - */ - public void setKeyStoreStorePassOverlay(String storePass); - - /** - * Sets the keystore key password - * @param keyPass the keystore key password - */ - public void setKeyStoreKeyPassOverlay(String keyPass); - - /** - * Sets the configuration file - * @param configurationFile - */ - public void setConfigurationFile(String configurationFile); - - /** - * - * @param profile - */ - public void setSignatureProfile(String profile); -} -- cgit v1.2.3