mirror of
https://github.com/google/nomulus.git
synced 2025-07-26 04:28:34 +02:00
Decouple dryRun from SessionMetadata
dryRun is only available via the (sessionless!) tool, and is not a property of the session. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=125203026
This commit is contained in:
parent
3ae646d687
commit
e359ab5f52
17 changed files with 31 additions and 54 deletions
|
@ -25,7 +25,6 @@ public class TestSessionMetadata extends SessionMetadata {
|
|||
|
||||
private final Map<String, Object> properties = new HashMap<>();
|
||||
private boolean isValid = true;
|
||||
private boolean isDryRun = false;
|
||||
private SessionSource sessionSource = SessionSource.NONE;
|
||||
|
||||
@Override
|
||||
|
@ -58,15 +57,6 @@ public class TestSessionMetadata extends SessionMetadata {
|
|||
sessionSource = source;
|
||||
}
|
||||
|
||||
public void setIsDryRun(boolean isDryRun) {
|
||||
this.isDryRun = isDryRun;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isDryRun() {
|
||||
return isDryRun;
|
||||
}
|
||||
|
||||
public boolean isValid() {
|
||||
return isValid;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue