Class UsersController
- java.lang.Object
-
- org.jenkinsci.plugins.fodupload.controllers.UsersController
-
public class UsersController extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected FodApiConnection
apiConnection
protected String
correlationId
protected PrintStream
logger
-
Constructor Summary
Constructors Constructor Description UsersController(FodApiConnection apiConnection, PrintStream logger, String correlationId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
getCorrelationId()
Result<CurrentUserSessionResponse>
getCurrentUserSession()
protected void
println(String log)
protected void
printStackTrace(Exception e)
-
-
-
Field Detail
-
apiConnection
protected FodApiConnection apiConnection
-
correlationId
protected String correlationId
-
logger
protected PrintStream logger
-
-
Constructor Detail
-
UsersController
public UsersController(FodApiConnection apiConnection, PrintStream logger, String correlationId)
-
-
Method Detail
-
getCurrentUserSession
public Result<CurrentUserSessionResponse> getCurrentUserSession() throws IOException
- Throws:
IOException
-
getCorrelationId
protected String getCorrelationId()
-
println
protected void println(String log)
-
printStackTrace
protected void printStackTrace(Exception e)
-
-