Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
reworked the node group extension so it applies to all extension points
- Loading branch information
Showing
3 changed files
with
63 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
symmetric/src/main/java/org/jumpmind/symmetric/ext/INodeGroupExtensionPoint.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
package org.jumpmind.symmetric.ext; | ||
|
||
/** | ||
* This is a DataLoaderFilter that will only be applied to the node groups that | ||
* are supported. | ||
*/ | ||
public interface INodeGroupExtensionPoint { | ||
|
||
public String[] getNodeGroupIdsToApplyTo(); | ||
|
||
} |
9 changes: 5 additions & 4 deletions
9
symmetric/src/main/java/org/jumpmind/symmetric/load/INodeGroupDataLoaderFilter.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
package org.jumpmind.symmetric.load; | ||
|
||
import org.jumpmind.symmetric.ext.INodeGroupExtensionPoint; | ||
|
||
/** | ||
* This is a DataLoaderFilter that will only be applied to the node groups that are supported. | ||
* This is a DataLoaderFilter that will only be applied to the node groups that | ||
* are supported. | ||
*/ | ||
public interface INodeGroupDataLoaderFilter extends IDataLoaderFilter { | ||
public interface INodeGroupDataLoaderFilter extends IDataLoaderFilter, INodeGroupExtensionPoint { | ||
|
||
public String[] getNodeGroupIdsToApplyTo(); | ||
|
||
} |