All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ru.cwcode.commands.arguments.ComplexArg Maven / Gradle / Ivy

package ru.cwcode.commands.arguments;


import ru.cwcode.commands.Argument;
import ru.cwcode.commands.api.Sender;

import java.util.Collection;
import java.util.List;

public class ComplexArg extends Argument {
  
  List args;
  
  public ComplexArg(Argument... args) {
    this.args = List.of(args);
  }
  
  public List getArgs() {
    return args;
  }
  
  @Override
  public boolean valid(String raw) {
    return false;
  }
  
  @Override
  public Collection completions(Sender sender) {
    return null;
  }
  
  @Override
  public String argumentName() {
    return null;
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy