Skip to content

Commit

Permalink
Inherit StdCallbackContext for CallbackContext (#57)
Browse files Browse the repository at this point in the history
  • Loading branch information
hongkuntian committed May 27, 2024
1 parent 818c911 commit 9d1965b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,13 @@
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import software.amazon.cloudformation.proxy.StdCallbackContext;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class CallbackContext {
public class CallbackContext extends StdCallbackContext {
@Builder.Default
private boolean deletionStarted = false;
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
import lombok.Builder;

import java.time.Instant;

import software.amazon.cloudformation.proxy.StdCallbackContext;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,13 @@
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import software.amazon.cloudformation.proxy.StdCallbackContext;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class CallbackContext {
@Builder.Default
private boolean deletionStarted = false;
public class CallbackContext extends StdCallbackContext {
@Builder.Default
private boolean deletionStarted = false;
}

0 comments on commit 9d1965b

Please sign in to comment.