You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

RemoteHelperCommand.java 490B

12345678910111213141516171819202122232425
  1. package org.eclipse.jgit.integrate.remotehelper;
  2. import java.util.List;
  3. public abstract class RemoteHelperCommand {
  4. private final RemoteHelperContext context;
  5. public RemoteHelperCommand(RemoteHelperContext context) {
  6. this.context = context;
  7. }
  8. public boolean isBatched() {
  9. return false;
  10. }
  11. public abstract void handle(
  12. List<String> arguments
  13. ) throws Exception;
  14. public void complete() throws Exception {}
  15. public RemoteHelperContext getContext() {
  16. return context;
  17. }
  18. }