Renamed BackupContext.Builder#setServer -> saveServer
This commit is contained in:
parent
5de9c9ba0c
commit
d9aee50cd1
@ -43,7 +43,7 @@ public class StartBackupCommand {
|
||||
.setCommandSource(ctx.getSource())
|
||||
.setComment(StringArgumentType.getString(ctx, "comment"))
|
||||
.guessInitiator()
|
||||
.setSave()
|
||||
.saveServer()
|
||||
.build()
|
||||
)
|
||||
);
|
||||
@ -58,7 +58,7 @@ public class StartBackupCommand {
|
||||
new BackupContext.Builder()
|
||||
.setCommandSource(source)
|
||||
.guessInitiator()
|
||||
.setSave()
|
||||
.saveServer()
|
||||
.build()
|
||||
)
|
||||
);
|
||||
|
@ -105,7 +105,7 @@ public class BackupContext {
|
||||
return this;
|
||||
}
|
||||
|
||||
public Builder setSave() {
|
||||
public Builder saveServer() {
|
||||
this.save = true;
|
||||
return this;
|
||||
}
|
||||
|
@ -43,7 +43,7 @@ public class BackupScheduler {
|
||||
new BackupContext.Builder()
|
||||
.setServer(server)
|
||||
.setInitiator(BackupContext.BackupInitiator.Timer)
|
||||
.setSave()
|
||||
.saveServer()
|
||||
.build()
|
||||
)
|
||||
);
|
||||
@ -61,7 +61,7 @@ public class BackupScheduler {
|
||||
new BackupContext.Builder()
|
||||
.setServer(server)
|
||||
.setInitiator(BackupContext.BackupInitiator.Timer)
|
||||
.setSave()
|
||||
.saveServer()
|
||||
.build()
|
||||
)
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user