-
Notifications
You must be signed in to change notification settings - Fork 144
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[GITFLOW]merging 'release-1.89.0' into 'master'
- Loading branch information
Showing
538 changed files
with
20,054 additions
and
5,442 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
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
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
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
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
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
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
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
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
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
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
34 changes: 34 additions & 0 deletions
34
sormas-api/src/main/java/de/symeda/sormas/api/common/progress/ProcessedEntity.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,34 @@ | ||
package de.symeda.sormas.api.common.progress; | ||
|
||
import java.io.Serializable; | ||
|
||
import de.symeda.sormas.api.audit.AuditedClass; | ||
|
||
@AuditedClass | ||
public class ProcessedEntity implements Serializable { | ||
|
||
String entityUuid; | ||
|
||
ProcessedEntityStatus processedEntityStatus; | ||
|
||
public ProcessedEntity(String entityUuid, ProcessedEntityStatus processedEntityStatus) { | ||
this.entityUuid = entityUuid; | ||
this.processedEntityStatus = processedEntityStatus; | ||
} | ||
|
||
public String getEntityUuid() { | ||
return entityUuid; | ||
} | ||
|
||
public void setEntityUuid(String entityUuid) { | ||
this.entityUuid = entityUuid; | ||
} | ||
|
||
public ProcessedEntityStatus getProcessedEntityStatus() { | ||
return processedEntityStatus; | ||
} | ||
|
||
public void setProcessedEntityStatus(ProcessedEntityStatus processedEntityStatus) { | ||
this.processedEntityStatus = processedEntityStatus; | ||
} | ||
} |
27 changes: 27 additions & 0 deletions
27
sormas-api/src/main/java/de/symeda/sormas/api/common/progress/ProcessedEntityStatus.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,27 @@ | ||
package de.symeda.sormas.api.common.progress; | ||
|
||
public enum ProcessedEntityStatus { | ||
|
||
SUCCESS, | ||
/** | ||
* The entity does not corresponds to the criterias needed in order to be processed (e.g. Events with Participants can not be deleted) | ||
*/ | ||
NOT_ELIGIBLE, | ||
/** | ||
* ExternalSurveillanceToolRuntimeException was thrown during the processing of the entity | ||
*/ | ||
EXTERNAL_SURVEILLANCE_FAILURE, | ||
/** | ||
* SormasToSormasRuntimeException was thrown during the processing of the entity | ||
*/ | ||
SORMAS_TO_SORMAS_FAILURE, | ||
/** | ||
* AccessDeniedException was thrown during the processing of the entity | ||
*/ | ||
ACCESS_DENIED_FAILURE, | ||
/** | ||
* An internal exception was thrown during the processing of the entity | ||
*/ | ||
INTERNAL_FAILURE; | ||
|
||
} |
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
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
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
Oops, something went wrong.