mirror of
https://github.com/google/nomulus.git
synced 2025-05-13 07:57:13 +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
|
@ -21,19 +21,16 @@ public class StatelessRequestSessionMetadata extends SessionMetadata {
|
|||
|
||||
private final String clientId;
|
||||
private final boolean isSuperuser;
|
||||
private final boolean isDryRun;
|
||||
private final Set<String> serviceExtensionUris;
|
||||
private final SessionSource sessionSource;
|
||||
|
||||
public StatelessRequestSessionMetadata(
|
||||
String clientId,
|
||||
boolean isSuperuser,
|
||||
boolean isDryRun,
|
||||
Set<String> serviceExtensionUris,
|
||||
SessionSource source) {
|
||||
this.clientId = clientId;
|
||||
this.isSuperuser = isSuperuser;
|
||||
this.isDryRun = isDryRun;
|
||||
this.serviceExtensionUris = serviceExtensionUris;
|
||||
this.sessionSource = source;
|
||||
}
|
||||
|
@ -48,11 +45,6 @@ public class StatelessRequestSessionMetadata extends SessionMetadata {
|
|||
return isSuperuser;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isDryRun() {
|
||||
return isDryRun;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Set<String> getServiceExtensionUris() {
|
||||
return serviceExtensionUris;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue