public interface

HookRequest

com.atlassian.stash.hook.HookRequest

Class Overview

Represents a SCM Hook request. SCM hooks call back into Stash providing:

  • the hook identifier (e.g. git-pre-receive)
  • any arguments provided to the hook
  • any remaining input

Summary

Public Methods
List<String> getArguments()
String getHookName()
CharSequence getInput()

Public Methods

public List<String> getArguments ()

Returns
  • the list of arguments provided by the SCM hook callback.

public String getHookName ()

Returns
  • the hook-identifier provided by the SCM hook callback.

public CharSequence getInput ()

Returns
  • the remainder of the input provided by the SCM hook callback.