Modifier and Type | Method and Description |
---|---|
String |
getCommandName()
Get name of the command requested by clients.
|
boolean |
handles(String commandLine)
Determine if this service can handle the requested command.
|
boolean |
isEnabled()
Whether this service is enabled for invocation.
|
boolean |
isOverridable()
Whether this service can be configured in the repository config file
|
void |
setEnabled(boolean on)
Set if it is allowed to use this service
|
void |
setOverridable(boolean on)
Whether to permit repositories to override this service's enabled state
with the
daemon.servicename config setting. |
public boolean isEnabled()
public void setEnabled(boolean on)
on
- true
to allow this service to be used; false
to deny it.public boolean isOverridable()
public void setOverridable(boolean on)
daemon.servicename
config setting.on
- true
to permit repositories to override this service's
enabled state with the daemon.servicename
config
setting.public String getCommandName()
public boolean handles(String commandLine)
commandLine
- input line from the client.Copyright © 2018 Eclipse JGit Project. All rights reserved.