mirror of
https://github.com/Sheldan/abstracto.git
synced 2026-04-15 20:16:34 +00:00
[AB-xx] fixing build
This commit is contained in:
@@ -9,7 +9,7 @@ import java.util.concurrent.CompletableFuture;
|
|||||||
|
|
||||||
public interface Command extends FeatureAware {
|
public interface Command extends FeatureAware {
|
||||||
|
|
||||||
default CommandResult execute(CommandContext commandContext) {return CommandResult.fromSuccess();};
|
default CommandResult execute(CommandContext commandContext) {return CommandResult.fromSuccess();}
|
||||||
default CompletableFuture<CommandResult> executeAsync(CommandContext commandContext) {return CompletableFuture.completedFuture(CommandResult.fromSuccess());};
|
default CompletableFuture<CommandResult> executeAsync(CommandContext commandContext) {return CompletableFuture.completedFuture(CommandResult.fromSuccess());}
|
||||||
CommandConfiguration getConfiguration();
|
CommandConfiguration getConfiguration();
|
||||||
}
|
}
|
||||||
@@ -8,7 +8,7 @@ import java.util.List;
|
|||||||
|
|
||||||
public class CommandParameterKeyValueWrongTypeException extends AbstractoRunTimeException implements Templatable {
|
public class CommandParameterKeyValueWrongTypeException extends AbstractoRunTimeException implements Templatable {
|
||||||
|
|
||||||
private CommandParameterKeyValueWrongTypeExceptionModel model;
|
private final CommandParameterKeyValueWrongTypeExceptionModel model;
|
||||||
|
|
||||||
public CommandParameterKeyValueWrongTypeException(List<String> expectedValues) {
|
public CommandParameterKeyValueWrongTypeException(List<String> expectedValues) {
|
||||||
super("Command parameter value did not have expected values present");
|
super("Command parameter value did not have expected values present");
|
||||||
@@ -19,6 +19,6 @@ public interface FeatureConfig extends Serializable {
|
|||||||
default List<String> getRequiredSystemConfigKeys() { return Collections.emptyList();}
|
default List<String> getRequiredSystemConfigKeys() { return Collections.emptyList();}
|
||||||
default List<FeatureValidator> getAdditionalFeatureValidators() { return Collections.emptyList(); }
|
default List<FeatureValidator> getAdditionalFeatureValidators() { return Collections.emptyList(); }
|
||||||
default List<String> getRequiredEmotes() { return Collections.emptyList(); }
|
default List<String> getRequiredEmotes() { return Collections.emptyList(); }
|
||||||
default List<FeatureMode> getAvailableModes() { return Collections.emptyList(); };
|
default List<FeatureMode> getAvailableModes() { return Collections.emptyList(); }
|
||||||
default List<SetupStep> getCustomSetupSteps() { return Collections.emptyList(); }
|
default List<SetupStep> getCustomSetupSteps() { return Collections.emptyList(); }
|
||||||
}
|
}
|
||||||
@@ -5,7 +5,7 @@ import dev.sheldan.abstracto.core.templating.Templatable;
|
|||||||
|
|
||||||
public class UploadFileTooLargeException extends AbstractoRunTimeException implements Templatable {
|
public class UploadFileTooLargeException extends AbstractoRunTimeException implements Templatable {
|
||||||
|
|
||||||
private UploadFileTooLargeExceptionModel model;
|
private final UploadFileTooLargeExceptionModel model;
|
||||||
|
|
||||||
public UploadFileTooLargeException(Long fileSize, Long fileSizeLimit) {
|
public UploadFileTooLargeException(Long fileSize, Long fileSizeLimit) {
|
||||||
super("File too large for uploading it into the server.");
|
super("File too large for uploading it into the server.");
|
||||||
Reference in New Issue
Block a user