Class HelloGetResources
java.lang.Object
test.HelloGetResources
- All Implemented Interfaces:
hudson.remoting.Callable<String, IOException>, Serializable, org.jenkinsci.remoting.RoleSensitive
public class HelloGetResources
extends Object
implements hudson.remoting.Callable<String, IOException>
Lists all resources as a single string.
- Author:
- Kohsuke Kawaguchi
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncall()voidcheckRoles(org.jenkinsci.remoting.RoleChecker checker) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface hudson.remoting.Callable
getChannelOrFail, getOpenChannelOrFail
-
Constructor Details
-
HelloGetResources
Deprecated. -
HelloGetResources
public HelloGetResources(boolean useCaches) Constructor.- Parameters:
useCaches- Iffalse, caching in theURLConnectionwill be disabled. A default value will be used otherwise.- Since:
- 1.1
-
-
Method Details
-
call
- Specified by:
callin interfacehudson.remoting.Callable<String, IOException>- Throws:
IOException
-
checkRoles
- Specified by:
checkRolesin interfaceorg.jenkinsci.remoting.RoleSensitive- Throws:
SecurityException
-