Skip to main content

This CGIT instance is deprecated, and repositories have been moved to Gitlab or Github. See the repository descriptions for specific locations.

summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/WSIPreferences.java')
-rw-r--r--bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/WSIPreferences.java74
1 files changed, 74 insertions, 0 deletions
diff --git a/bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/WSIPreferences.java b/bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/WSIPreferences.java
new file mode 100644
index 000000000..84b8d2165
--- /dev/null
+++ b/bundles/org.eclipse.wst.wsi/src/org/eclipse/wst/wsi/internal/WSIPreferences.java
@@ -0,0 +1,74 @@
+/*******************************************************************************
+ * Copyright (c) 2002-2005 IBM Corporation and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM - Initial API and implementation
+ *******************************************************************************/
+package org.eclipse.wst.wsi.internal;
+
+/**
+ * WS-I test tools property.
+ *
+ * @author David Lauzon, IBM
+ *
+ */
+
+public class WSIPreferences
+{
+ protected String complianceLevel = "";
+ protected String tadfile = "";
+
+ /**
+ * Constructor.
+ */
+ public WSIPreferences()
+ {
+ complianceLevel = WSITestToolsProperties.WARN_NON_WSI;
+ tadfile = WSITestToolsProperties.DEFAULT_ASSERTION_FILE;
+ }
+
+ /**
+ * Returns the WS-I compliance level.
+ * @return the WS-I compliance level.
+ * @see #setComplianceLevel
+ */
+ public String getComplianceLevel()
+ {
+ return complianceLevel;
+ }
+
+ /**
+ * Set the WS-I compliance level.
+ * @param compliance the WS-I compliance level.
+ * @see #getComplianceLevel
+ */
+ public void setComplianceLevel(String compliance)
+ {
+ this.complianceLevel = compliance;
+ }
+
+ /**
+ * Returns the location of the Basic Profile Test Assertions file.
+ * @return the location of the Basic Profile Test Assertions file.
+ * @see #setTADFile
+ */
+ public String getTADFile()
+ {
+ return tadfile;
+ }
+
+ /**
+ * Set the location of the Basic Profile Test Assertions file.
+ * @param file the location of the Basic Profile Test Assertions file.
+ * @see #getTADFile
+ */
+ public void setTADFile(String file)
+ {
+ this.tadfile = file;
+ }
+}
+

Back to the top