org.kohsuke.jnt
Class JNMyself
java.lang.Object
org.kohsuke.jnt.JNUser
org.kohsuke.jnt.JNMyself
- All Implemented Interfaces:
- Comparable
public class JNMyself
- extends JNUser
The current logged-in user in java.net.
- Author:
- Kohsuke Kawaguchi (kk@kohsuke.org)
getMyProjects
public final Set<JNProject> getMyProjects()
throws ProcessingException
- Set of
JNProject
to which the current user belongs.
- Returns:
- non-null (but possibly empty) set. The set is read-only.
- Throws:
ProcessingException
getProjects
public Collection<JNProject> getProjects()
throws ProcessingException
- The same as
getMyProjects()
.
- Overrides:
getProjects
in class JNUser
- Throws:
ProcessingException
Copyright © 2003-2008 Kohsuke Kawaguchi. All Rights Reserved.