Author: adietish
Date: 2010-12-08 11:50:08 -0500 (Wed, 08 Dec 2010)
New Revision: 27241
Modified:
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.core/src/org/jboss/tools/deltacloud/core/AllImageFilter.java
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.core/src/org/jboss/tools/deltacloud/core/AllInstanceFilter.java
Log:
[JBIDE-7834] simplified binding, fixed find image by id (moved implementation to
DeltaCloud)
Modified:
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.core/src/org/jboss/tools/deltacloud/core/AllImageFilter.java
===================================================================
---
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.core/src/org/jboss/tools/deltacloud/core/AllImageFilter.java 2010-12-08
16:44:54 UTC (rev 27240)
+++
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.core/src/org/jboss/tools/deltacloud/core/AllImageFilter.java 2010-12-08
16:50:08 UTC (rev 27241)
@@ -36,12 +36,17 @@
public void setRules(String ruleString) {
// ignore, never set the rules for this filter
}
-
+
@Override
- public String toString() {
- return ALL_STRING;
+ public IFieldMatcher getNameRule() {
+ return matcher;
}
+ @Override
+ public IFieldMatcher getIdRule() {
+ return matcher;
+ }
+
public IFieldMatcher getArchRule() {
return matcher;
}
@@ -50,4 +55,8 @@
return matcher;
}
+ @Override
+ public String toString() {
+ return ALL_STRING;
+ }
}
Modified:
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.core/src/org/jboss/tools/deltacloud/core/AllInstanceFilter.java
===================================================================
---
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.core/src/org/jboss/tools/deltacloud/core/AllInstanceFilter.java 2010-12-08
16:44:54 UTC (rev 27240)
+++
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.core/src/org/jboss/tools/deltacloud/core/AllInstanceFilter.java 2010-12-08
16:50:08 UTC (rev 27241)
@@ -27,12 +27,18 @@
// ignore, never set the rules for this filter
}
+
@Override
- public String toString() {
- return ALL_STRING;
+ public IFieldMatcher getNameRule() {
+ return matcher;
}
@Override
+ public IFieldMatcher getIdRule() {
+ return matcher;
+ }
+
+ @Override
public IFieldMatcher getImageIdRule() {
return matcher;
}
@@ -56,4 +62,9 @@
public IFieldMatcher getRealmRule() {
return matcher;
}
+
+ @Override
+ public String toString() {
+ return ALL_STRING;
+ }
}
Show replies by date