com.google.firebase.remoteconfig.PublishOptions Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of firebase-admin Show documentation
Show all versions of firebase-admin Show documentation
This is the official Firebase Admin Java SDK. Build extraordinary native JVM apps in
minutes with Firebase. The Firebase platform can power your app’s backend, user
authentication, static hosting, and more.
package com.google.firebase.remoteconfig;
/**
* An internal class for publish template options.
*/
final class PublishOptions {
private boolean validateOnly;
private boolean forcePublish;
PublishOptions() {
validateOnly = false;
forcePublish = false;
}
public PublishOptions setForcePublish(boolean forcePublish) {
this.forcePublish = forcePublish;
return this;
}
public PublishOptions setValidateOnly(boolean validateOnly) {
this.validateOnly = validateOnly;
return this;
}
public boolean isForcePublish() {
return forcePublish;
}
public boolean isValidateOnly() {
return validateOnly;
}
}