Permalink
Browse files

Move Guided Rule XML marshalling to guided-templates as they are not …

…used by guided-rule anymore
  • Loading branch information...
1 parent 65fca36 commit 02775a4a2b3702d6e3f8696947ce798ce2df3644 @manstis manstis committed Apr 9, 2013
@@ -19,7 +19,6 @@
import java.util.List;
import org.drools.guvnor.models.commons.backend.rule.BRLPersistence;
-import org.drools.guvnor.models.commons.backend.rule.BRXMLPersistence;
import org.drools.guvnor.models.commons.shared.rule.RuleModel;
import org.drools.guvnor.models.guided.template.backend.upgrade.TemplateModelUpgradeHelper1;
import org.drools.guvnor.models.guided.template.shared.TemplateModel;
@@ -14,15 +14,14 @@
* limitations under the License.
*/
-package org.drools.guvnor.models.commons.backend.rule;
+package org.drools.guvnor.models.guided.template.backend;
import java.util.List;
import com.thoughtworks.xstream.XStream;
import com.thoughtworks.xstream.io.xml.DomDriver;
-import org.drools.guvnor.models.commons.backend.rule.util.upgrade.RuleModelUpgradeHelper1;
-import org.drools.guvnor.models.commons.backend.rule.util.upgrade.RuleModelUpgradeHelper2;
-import org.drools.guvnor.models.commons.backend.rule.util.upgrade.RuleModelUpgradeHelper3;
+import org.drools.guvnor.models.commons.backend.rule.BRLPersistence;
+import org.drools.guvnor.models.commons.backend.rule.DSLVariableValuesConverter;
import org.drools.guvnor.models.commons.shared.rule.ActionFieldValue;
import org.drools.guvnor.models.commons.shared.rule.ActionGlobalCollectionAdd;
import org.drools.guvnor.models.commons.shared.rule.ActionInsertFact;
@@ -51,6 +50,9 @@
import org.drools.guvnor.models.commons.shared.rule.RuleMetadata;
import org.drools.guvnor.models.commons.shared.rule.RuleModel;
import org.drools.guvnor.models.commons.shared.rule.SingleFieldConstraint;
+import org.drools.guvnor.models.guided.template.backend.upgrade.RuleModelUpgradeHelper1;
+import org.drools.guvnor.models.guided.template.backend.upgrade.RuleModelUpgradeHelper2;
+import org.drools.guvnor.models.guided.template.backend.upgrade.RuleModelUpgradeHelper3;
/**
* This class persists the rule model to XML and back. This is the 'brl' xml
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.drools.guvnor.models.commons.backend.rule.util.upgrade;
+package org.drools.guvnor.models.guided.template.backend.upgrade;
import org.drools.guvnor.models.commons.backend.IUpgradeHelper;
import org.drools.guvnor.models.commons.shared.rule.ActionCallMethod;
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.drools.guvnor.models.commons.backend.rule.util.upgrade;
+package org.drools.guvnor.models.guided.template.backend.upgrade;
import org.drools.guvnor.models.commons.backend.IUpgradeHelper;
import org.drools.guvnor.models.commons.shared.rule.CompositeFactPattern;
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.drools.guvnor.models.commons.backend.rule.util.upgrade;
+package org.drools.guvnor.models.guided.template.backend.upgrade;
import org.drools.guvnor.models.commons.backend.IUpgradeHelper;
import org.drools.guvnor.models.commons.shared.rule.CompositeFactPattern;
@@ -14,12 +14,13 @@
* limitations under the License.
*/
-package org.drools.guvnor.models.commons.backend.rule;
+package org.drools.guvnor.models.guided.template.backend;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.Reader;
+import org.drools.guvnor.models.commons.backend.rule.BRLPersistence;
import org.drools.guvnor.models.commons.shared.oracle.DataType;
import org.drools.guvnor.models.commons.shared.rule.ActionFieldValue;
import org.drools.guvnor.models.commons.shared.rule.ActionGlobalCollectionAdd;
@@ -13,7 +13,7 @@
* License for the specific language governing permissions and limitations under
* the License.
*/
-package org.drools.guvnor.models.commons.backend.rule;
+package org.drools.guvnor.models.guided.template.backend;
import org.drools.guvnor.models.commons.shared.rule.DSLSentence;
import org.drools.guvnor.models.commons.shared.rule.DSLVariableValue;

0 comments on commit 02775a4

Please sign in to comment.