syncope-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cohei...@apache.org
Subject svn commit: r1602461 - in /syncope/trunk/core/src: main/java/org/apache/syncope/core/propagation/ main/java/org/apache/syncope/core/sync/ test/java/org/apache/syncope/core/rest/
Date Fri, 13 Jun 2014 15:56:41 GMT
Author: coheigea
Date: Fri Jun 13 15:56:40 2014
New Revision: 1602461

URL: http://svn.apache.org/r1602461
Log:
Make default Tasks implementations abstract so that they don't show up in the UI

Modified:
    syncope/trunk/core/src/main/java/org/apache/syncope/core/propagation/DefaultPropagationActions.java
    syncope/trunk/core/src/main/java/org/apache/syncope/core/sync/DefaultPushActions.java
    syncope/trunk/core/src/main/java/org/apache/syncope/core/sync/DefaultSyncActions.java
    syncope/trunk/core/src/test/java/org/apache/syncope/core/rest/TaskTestITCase.java

Modified: syncope/trunk/core/src/main/java/org/apache/syncope/core/propagation/DefaultPropagationActions.java
URL: http://svn.apache.org/viewvc/syncope/trunk/core/src/main/java/org/apache/syncope/core/propagation/DefaultPropagationActions.java?rev=1602461&r1=1602460&r2=1602461&view=diff
==============================================================================
--- syncope/trunk/core/src/main/java/org/apache/syncope/core/propagation/DefaultPropagationActions.java
(original)
+++ syncope/trunk/core/src/main/java/org/apache/syncope/core/propagation/DefaultPropagationActions.java
Fri Jun 13 15:56:40 2014
@@ -25,7 +25,7 @@ import org.identityconnectors.framework.
 /**
  * Default (empty) implementation of PropagationActions.
  */
-public class DefaultPropagationActions implements PropagationActions {
+public abstract class DefaultPropagationActions implements PropagationActions {
 
     @Override
     public void before(final PropagationTask task, final ConnectorObject beforeObj) {

Modified: syncope/trunk/core/src/main/java/org/apache/syncope/core/sync/DefaultPushActions.java
URL: http://svn.apache.org/viewvc/syncope/trunk/core/src/main/java/org/apache/syncope/core/sync/DefaultPushActions.java?rev=1602461&r1=1602460&r2=1602461&view=diff
==============================================================================
--- syncope/trunk/core/src/main/java/org/apache/syncope/core/sync/DefaultPushActions.java
(original)
+++ syncope/trunk/core/src/main/java/org/apache/syncope/core/sync/DefaultPushActions.java
Fri Jun 13 15:56:40 2014
@@ -30,7 +30,7 @@ import org.quartz.JobExecutionException;
 /**
  * Default (empty) implementation of PushActions.
  */
-public class DefaultPushActions implements PushActions {
+public abstract class DefaultPushActions implements PushActions {
 
     @Override
     public void beforeAll(final AbstractSyncopeResultHandler<?, ?> handler) throws
JobExecutionException {

Modified: syncope/trunk/core/src/main/java/org/apache/syncope/core/sync/DefaultSyncActions.java
URL: http://svn.apache.org/viewvc/syncope/trunk/core/src/main/java/org/apache/syncope/core/sync/DefaultSyncActions.java?rev=1602461&r1=1602460&r2=1602461&view=diff
==============================================================================
--- syncope/trunk/core/src/main/java/org/apache/syncope/core/sync/DefaultSyncActions.java
(original)
+++ syncope/trunk/core/src/main/java/org/apache/syncope/core/sync/DefaultSyncActions.java
Fri Jun 13 15:56:40 2014
@@ -29,7 +29,7 @@ import org.quartz.JobExecutionException;
 /**
  * Default (empty) implementation of SyncActions.
  */
-public class DefaultSyncActions implements SyncActions {
+public abstract class DefaultSyncActions implements SyncActions {
 
     @Override
     public void beforeAll(final AbstractSyncopeResultHandler<?, ?> handler) throws
JobExecutionException {

Modified: syncope/trunk/core/src/test/java/org/apache/syncope/core/rest/TaskTestITCase.java
URL: http://svn.apache.org/viewvc/syncope/trunk/core/src/test/java/org/apache/syncope/core/rest/TaskTestITCase.java?rev=1602461&r1=1602460&r2=1602461&view=diff
==============================================================================
--- syncope/trunk/core/src/test/java/org/apache/syncope/core/rest/TaskTestITCase.java (original)
+++ syncope/trunk/core/src/test/java/org/apache/syncope/core/rest/TaskTestITCase.java Fri
Jun 13 15:56:40 2014
@@ -108,7 +108,6 @@ public class TaskTestITCase extends Abst
     public void getPushActionsClasses() {
         List<PushActionClass> actions = taskService.getPushActionsClasses();
         assertNotNull(actions);
-        assertFalse(actions.isEmpty());
     }
 
     @Test



Mime
View raw message