-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #170 from rwth-acis/release/1.3.0
Release/1.3.0
- Loading branch information
Showing
11 changed files
with
15,548 additions
and
42 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
70 changes: 70 additions & 0 deletions
70
core/src/main/java/i5/las2peer/logging/monitoring/XESEventMessage.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,70 @@ | ||
package i5.las2peer.logging.monitoring; | ||
|
||
import i5.las2peer.api.logging.MonitoringEvent; | ||
|
||
/** | ||
* | ||
* This class stores a message that was logged by the monitoring module of | ||
* las2peer. An Array of instances of this class | ||
* is send via a {@link i5.las2peer.communication.Message} to the central | ||
* monitoring node. | ||
* | ||
* | ||
* | ||
*/ | ||
public class XESEventMessage extends MonitoringMessage { | ||
|
||
private static final long serialVersionUID = -1481584785721621545L; | ||
|
||
private String caseId; | ||
private String activityName; | ||
private String resourceId; | ||
private String resourceType; | ||
|
||
/** | ||
* | ||
* Constructor of a XESEventMessage. This is a subclass of | ||
* {@link i5.las2peer.logging.monitoring.MonitoringMessage} with additional | ||
* fields for XES event log. | ||
* | ||
* @param timestamp A timestamp for this message | ||
* @param event A monitoring event identifier | ||
* @param sourceNode A source node | ||
* @param sourceAgentId A source agent id | ||
* @param destinationNode A destination node | ||
* @param destinationAgentId A destination agent id | ||
* @param remarks Any additional information about this message | ||
* @param caseId caseId of the event | ||
* @param activityName activityName of the event | ||
* @param resourceId resourceId of the event | ||
* @param resourceType resourceType of the event (e.g. user, service, bot, | ||
* etc.) | ||
*/ | ||
public XESEventMessage(Long timestamp, MonitoringEvent event, String sourceNode, String sourceAgentId, | ||
String destinationNode, String destinationAgentId, String remarks, String caseId, String activityName, | ||
String resourceId, String resourceType) { | ||
super(timestamp, event, sourceNode, sourceAgentId, destinationNode, destinationAgentId, remarks); | ||
|
||
this.caseId = caseId; | ||
this.activityName = activityName; | ||
this.resourceId = resourceId; | ||
this.resourceType = resourceType; | ||
} | ||
|
||
public String getCaseId() { | ||
return caseId; | ||
} | ||
|
||
public String getActivityName() { | ||
return activityName; | ||
} | ||
|
||
public String getResourceId() { | ||
return resourceId; | ||
} | ||
|
||
public String getResourceType() { | ||
return resourceType; | ||
} | ||
|
||
} |
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.