org.hudsonci.rest.api.admin
Class AdminResource
java.lang.Object
org.hudsonci.rest.api.internal.ResourceSupport
org.hudsonci.rest.api.admin.AdminResource
@Named
public class AdminResource
- extends ResourceSupport
- Since:
- 2.1.0
- Author:
- Jason Dillon
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AdminResource
@Inject
public AdminResource(SystemService systemService)
getConfig
public javax.ws.rs.core.Response getConfig()
quietDown
public javax.ws.rs.core.Response quietDown(boolean toggle)
reloadConfiguration
public javax.ws.rs.core.Response reloadConfiguration()
throws IOException
- Throws:
IOException
restart
public javax.ws.rs.core.Response restart(boolean safe)
throws RestartNotSupportedException
- Throws:
RestartNotSupportedException
Copyright © 2004-2011 Hudson. All Rights Reserved.