Skip to content

refactor: deprecate 'pre' methods in TransferProcessListener #5064

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

Merged
merged 1 commit into from
Jun 23, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@ public interface TransferProcessListener {
* {@link TransferProcessStates#INITIAL INITIAL}, but before the change is persisted.
*
* @param process the transfer process whose state has changed.
* @deprecated will be removed soon.
*/
@Deprecated(since = "0.14.0")
default void preCreated(TransferProcess process) {
}

Expand All @@ -41,7 +43,9 @@ default void preCreated(TransferProcess process) {
* {@link TransferProcessStates#PROVISIONING PROVISIONING}, but before the change is persisted.
*
* @param process the transfer process whose state has changed.
* @deprecated will be removed soon.
*/
@Deprecated(since = "0.14.0")
default void preProvisioning(TransferProcess process) {
}

Expand All @@ -50,7 +54,9 @@ default void preProvisioning(TransferProcess process) {
* {@link TransferProcessStates#PROVISIONED PROVISIONED}, but before the change is persisted.
*
* @param process the transfer process whose state has changed.
* @deprecated will be removed soon.
*/
@Deprecated(since = "0.14.0")
default void preProvisioned(TransferProcess process) {
}

Expand All @@ -59,7 +65,9 @@ default void preProvisioned(TransferProcess process) {
* {@link TransferProcessStates#REQUESTING REQUESTING}, but before the change is persisted.
*
* @param process the transfer process whose state has changed.
* @deprecated will be removed soon.
*/
@Deprecated(since = "0.14.0")
default void preRequesting(TransferProcess process) {
}

Expand All @@ -68,7 +76,9 @@ default void preRequesting(TransferProcess process) {
* {@link TransferProcessStates#REQUESTED REQUESTED}, but before the change is persisted.
*
* @param process the transfer process whose state has changed.
* @deprecated will be removed soon.
*/
@Deprecated(since = "0.14.0")
default void preRequested(TransferProcess process) {
}

Expand All @@ -77,7 +87,9 @@ default void preRequested(TransferProcess process) {
* {@link TransferProcessStates#STARTED}, but before the change is persisted.
*
* @param process the transfer process whose state has changed.
* @deprecated will be removed soon.
*/
@Deprecated(since = "0.14.0")
default void preStarted(TransferProcess process) {
}

Expand All @@ -86,7 +98,9 @@ default void preStarted(TransferProcess process) {
* {@link TransferProcessStates#COMPLETED COMPLETED}, but before the change is persisted.
*
* @param process the transfer process whose state has changed.
* @deprecated will be removed soon.
*/
@Deprecated(since = "0.14.0")
default void preCompleted(TransferProcess process) {
}

Expand All @@ -95,7 +109,9 @@ default void preCompleted(TransferProcess process) {
* {@link TransferProcessStates#DEPROVISIONING DEPROVISIONING}, but before the change is persisted.
*
* @param process the transfer process whose state has changed.
* @deprecated will be removed soon.
*/
@Deprecated(since = "0.14.0")
default void preDeprovisioning(TransferProcess process) {
}

Expand All @@ -104,7 +120,9 @@ default void preDeprovisioning(TransferProcess process) {
* {@link TransferProcessStates#DEPROVISIONED DEPROVISIONED}, but before the change is persisted.
*
* @param process the transfer process whose state has changed.
* @deprecated will be removed soon.
*/
@Deprecated(since = "0.14.0")
default void preDeprovisioned(TransferProcess process) {
}

Expand All @@ -113,7 +131,9 @@ default void preDeprovisioned(TransferProcess process) {
* {@link TransferProcessStates#TERMINATED}, but before the change is persisted.
*
* @param process the transfer process whose state has changed.
* @deprecated will be removed soon.
*/
@Deprecated(since = "0.14.0")
default void preTerminated(TransferProcess process) {
}

Expand Down