-
Notifications
You must be signed in to change notification settings - Fork 252
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(Event Frame Work): add intermediate superclass for PolicyDefinition Events hierarchy #1915
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
/* | ||
* Copyright (c) 2022 Bayerische Motoren Werke Aktiengesellschaft (BMW AG) | ||
* | ||
* This program and the accompanying materials are made available under the | ||
* terms of the Apache License, Version 2.0 which is available at | ||
* https://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* SPDX-License-Identifier: Apache-2.0 | ||
* | ||
* Contributors: | ||
* Bayerische Motoren Werke Aktiengesellschaft (BMW AG) - initial API and implementation | ||
* Fraunhofer Institute for Software and Systems Engineering - expending Event classes | ||
* | ||
*/ | ||
|
||
package org.eclipse.dataspaceconnector.spi.event.policydefinition; | ||
|
||
import org.eclipse.dataspaceconnector.spi.event.EventPayload; | ||
|
||
|
||
/** | ||
* Class as organizational between level to catch events of type PolicyDefinition to catch them together in an Event Subscriber | ||
* | ||
*/ | ||
public class PolicyDefinitionEventPayload extends EventPayload { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Please include documentation There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. How about: "Contains data related to policy definition events"? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I add this additionally to the current information, ok? |
||
|
||
protected String policyDefinitionId; | ||
|
||
public String getPolicyDefinitionId() { | ||
return policyDefinitionId; | ||
} | ||
|
||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please include documentation