Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.m2e.core/src/org/eclipse/m2e/core/internal/index/SearchExpression.java')
-rw-r--r--org.eclipse.m2e.core/src/org/eclipse/m2e/core/internal/index/SearchExpression.java25
1 files changed, 25 insertions, 0 deletions
diff --git a/org.eclipse.m2e.core/src/org/eclipse/m2e/core/internal/index/SearchExpression.java b/org.eclipse.m2e.core/src/org/eclipse/m2e/core/internal/index/SearchExpression.java
new file mode 100644
index 00000000..cf4ec0d1
--- /dev/null
+++ b/org.eclipse.m2e.core/src/org/eclipse/m2e/core/internal/index/SearchExpression.java
@@ -0,0 +1,25 @@
+/*******************************************************************************
+ * Copyright (c) 2008 Sonatype, Inc.
+ * 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
+ *******************************************************************************/
+
+package org.eclipse.m2e.core.internal.index;
+
+/**
+ * SearchExpression is a wrapper interface for expressions representable as plain strings to be used within searches.
+ *
+ * @author cstamas
+ */
+public interface SearchExpression {
+
+ /**
+ * Returns the expression value as plain java String.
+ *
+ * @return
+ */
+ String getStringValue();
+
+}

Back to the top