Skip to content

Commit

Permalink
Merge pull request #210 from sentrysoftware/feature/issue-209-make-co…
Browse files Browse the repository at this point in the history
…nnectorstore-class-serializable

Issue #209: Make ConnectorStore Class Serializable
  • Loading branch information
NassimBtk committed May 28, 2024
2 parents 3cb611c + ef5ff16 commit 5722a3c
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
*/

import java.io.IOException;
import java.io.Serializable;
import java.nio.file.Path;
import java.util.HashMap;
import java.util.Map;
Expand All @@ -40,12 +41,14 @@
@Slf4j
@NoArgsConstructor
@Data
public class ConnectorStore {
public class ConnectorStore implements Serializable {

private static final long serialVersionUID = 1L;

private Map<String, Connector> store;

@Getter
private Path connectorDirectory;
private transient Path connectorDirectory;

/**
* Constructs a {@link ConnectorStore} using the specified connector directory.
Expand Down

0 comments on commit 5722a3c

Please sign in to comment.