Class AssessmentTypesController
- java.lang.Object
-
- org.jenkinsci.plugins.fodupload.controllers.AssessmentTypesController
-
public class AssessmentTypesController extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected FodApiConnectionapiConnectionprotected StringcorrelationIdprotected PrintStreamlogger
-
Constructor Summary
Constructors Constructor Description AssessmentTypesController(FodApiConnection apiConnection, PrintStream logger, String correlationId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StringgetCorrelationId()List<AssessmentTypeEntitlement>getDynamicAssessmentTypeEntitlements(Boolean isMicroservice)List<AssessmentTypeEntitlement>getStaticAssessmentTypeEntitlements(Boolean isMicroservice)List<AssessmentTypeEntitlement>getStaticAssessmentTypeEntitlements(Integer releaseId)protected voidprintln(String log)protected voidprintStackTrace(Exception e)
-
-
-
Field Detail
-
apiConnection
protected FodApiConnection apiConnection
-
correlationId
protected String correlationId
-
logger
protected PrintStream logger
-
-
Constructor Detail
-
AssessmentTypesController
public AssessmentTypesController(FodApiConnection apiConnection, PrintStream logger, String correlationId)
-
-
Method Detail
-
getStaticAssessmentTypeEntitlements
public List<AssessmentTypeEntitlement> getStaticAssessmentTypeEntitlements(Integer releaseId) throws IOException
- Throws:
IOException
-
getStaticAssessmentTypeEntitlements
public List<AssessmentTypeEntitlement> getStaticAssessmentTypeEntitlements(Boolean isMicroservice) throws IOException
- Throws:
IOException
-
getDynamicAssessmentTypeEntitlements
public List<AssessmentTypeEntitlement> getDynamicAssessmentTypeEntitlements(Boolean isMicroservice) throws IOException
- Throws:
IOException
-
getCorrelationId
protected String getCorrelationId()
-
println
protected void println(String log)
-
printStackTrace
protected void printStackTrace(Exception e)
-
-