Move composite rules to a dedicated package

pull/284/head
Mahmoud Ben Hassine 5 years ago
parent 1ebc0b40d5
commit 0575a9929c
No known key found for this signature in database
GPG Key ID: 79FCFB0A184E0036

@ -26,7 +26,7 @@ package org.jeasy.rules.mvel;
import org.jeasy.rules.api.Rule;
import org.jeasy.rules.api.Rules;
import org.jeasy.rules.support.reader.JsonRuleDefinitionReader;
import org.jeasy.rules.support.UnitRuleGroup;
import org.jeasy.rules.support.composite.UnitRuleGroup;
import org.junit.Test;
import org.junit.rules.ExpectedException;

@ -26,7 +26,7 @@ package org.jeasy.rules.mvel;
import org.jeasy.rules.api.Rule;
import org.jeasy.rules.api.Rules;
import org.jeasy.rules.support.reader.YamlRuleDefinitionReader;
import org.jeasy.rules.support.UnitRuleGroup;
import org.jeasy.rules.support.composite.UnitRuleGroup;
import org.junit.Test;
import org.junit.rules.ExpectedException;

@ -26,7 +26,7 @@ package org.jeasy.rules.spel;
import org.jeasy.rules.api.Rule;
import org.jeasy.rules.api.Rules;
import org.jeasy.rules.support.reader.JsonRuleDefinitionReader;
import org.jeasy.rules.support.UnitRuleGroup;
import org.jeasy.rules.support.composite.UnitRuleGroup;
import org.junit.Test;
import org.junit.rules.ExpectedException;

@ -25,7 +25,7 @@ package org.jeasy.rules.spel;
import org.jeasy.rules.api.Rule;
import org.jeasy.rules.api.Rules;
import org.jeasy.rules.support.UnitRuleGroup;
import org.jeasy.rules.support.composite.UnitRuleGroup;
import org.jeasy.rules.support.reader.YamlRuleDefinitionReader;
import org.junit.Test;
import org.junit.rules.ExpectedException;

@ -24,6 +24,10 @@
package org.jeasy.rules.support;
import org.jeasy.rules.api.Rule;
import org.jeasy.rules.support.composite.ActivationRuleGroup;
import org.jeasy.rules.support.composite.CompositeRule;
import org.jeasy.rules.support.composite.ConditionalRuleGroup;
import org.jeasy.rules.support.composite.UnitRuleGroup;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

@ -21,7 +21,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
package org.jeasy.rules.support;
package org.jeasy.rules.support.composite;
import org.jeasy.rules.api.Facts;
import org.jeasy.rules.api.Rule;

@ -21,7 +21,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
package org.jeasy.rules.support;
package org.jeasy.rules.support.composite;
import org.jeasy.rules.api.Facts;
import org.jeasy.rules.api.Rule;

@ -21,7 +21,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
package org.jeasy.rules.support;
package org.jeasy.rules.support.composite;
import org.jeasy.rules.api.Facts;
import org.jeasy.rules.api.Rule;

@ -21,7 +21,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
package org.jeasy.rules.support;
package org.jeasy.rules.support.composite;
import org.jeasy.rules.api.Facts;
import org.jeasy.rules.api.Rule;

@ -21,7 +21,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
package org.jeasy.rules.support;
package org.jeasy.rules.support.composite;
import org.jeasy.rules.annotation.Action;
import org.jeasy.rules.annotation.Condition;

@ -21,7 +21,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
package org.jeasy.rules.support;
package org.jeasy.rules.support.composite;
import org.jeasy.rules.annotation.Action;
import org.jeasy.rules.annotation.Condition;

@ -21,7 +21,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
package org.jeasy.rules.support;
package org.jeasy.rules.support.composite;
import org.jeasy.rules.annotation.Action;
import org.jeasy.rules.annotation.Condition;
@ -51,7 +51,7 @@ public class UnitRuleGroupTest {
private DefaultRulesEngine rulesEngine = new DefaultRulesEngine();
private org.jeasy.rules.support.UnitRuleGroup unitRuleGroup;
private UnitRuleGroup unitRuleGroup;
@Before

@ -23,7 +23,7 @@
*/
package org.jeasy.rules.tutorials.fizzbuzz;
import org.jeasy.rules.support.UnitRuleGroup;
import org.jeasy.rules.support.composite.UnitRuleGroup;
public class FizzBuzzRule extends UnitRuleGroup {

Loading…
Cancel
Save