forked from quarkusio/quarkus
-
Notifications
You must be signed in to change notification settings - Fork 0
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 quarkusio#9765 from stuartwdouglas/remote-dev-mutable
Allow mutable applications to be started in dev mode
- Loading branch information
Showing
73 changed files
with
2,403 additions
and
1,124 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
39 changes: 39 additions & 0 deletions
39
core/deployment/src/main/java/io/quarkus/deployment/dev/CurrentClassState.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,39 @@ | ||
package io.quarkus.deployment.dev; | ||
|
||
import java.util.List; | ||
import java.util.Map; | ||
|
||
import io.quarkus.bootstrap.model.AppArtifactKey; | ||
|
||
public class CurrentClassState { | ||
|
||
private final List<CurrentModuleState> currentModuleState; | ||
|
||
public CurrentClassState(List<CurrentModuleState> currentModuleState) { | ||
this.currentModuleState = currentModuleState; | ||
} | ||
|
||
public List<CurrentModuleState> getCurrentModuleState() { | ||
return currentModuleState; | ||
} | ||
|
||
public static class CurrentModuleState { | ||
|
||
private final AppArtifactKey module; | ||
private final Map<String, String> fileToHash; | ||
|
||
public CurrentModuleState(AppArtifactKey module, Map<String, String> fileToHash) { | ||
this.module = module; | ||
this.fileToHash = fileToHash; | ||
} | ||
|
||
public AppArtifactKey getModule() { | ||
return module; | ||
} | ||
|
||
public Map<String, String> getFileToHash() { | ||
return fileToHash; | ||
} | ||
} | ||
|
||
} |
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
Oops, something went wrong.