org.hudsonci.rest.api.admin
Class AdminResource

java.lang.Object
  extended by org.hudsonci.rest.api.internal.ResourceSupport
      extended by org.hudsonci.rest.api.admin.AdminResource

@Named
public class AdminResource
extends ResourceSupport

Since:
2.1.0
Author:
Jason Dillon

Field Summary
 
Fields inherited from class org.hudsonci.rest.api.internal.ResourceSupport
log
 
Constructor Summary
AdminResource(SystemService systemService)
           
 
Method Summary
 javax.ws.rs.core.Response getConfig()
           
 javax.ws.rs.core.Response quietDown(boolean toggle)
           
 javax.ws.rs.core.Response reloadConfiguration()
           
 javax.ws.rs.core.Response restart(boolean safe)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AdminResource

@Inject
public AdminResource(SystemService systemService)
Method Detail

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.