Class ContextsService
- java.lang.Object
-
- com.synopsys.integration.polaris.common.service.ContextsService
-
public class ContextsService extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ContextsService(PolarisService polarisService, com.synopsys.integration.rest.HttpUrl polarisServerUrl)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<PolarisResource<ContextAttributes>>
getAllContexts()
java.util.Optional<PolarisResource<ContextAttributes>>
getCurrentContext()
-
-
-
Constructor Detail
-
ContextsService
public ContextsService(PolarisService polarisService, com.synopsys.integration.rest.HttpUrl polarisServerUrl)
-
-
Method Detail
-
getAllContexts
public java.util.List<PolarisResource<ContextAttributes>> getAllContexts() throws com.synopsys.integration.exception.IntegrationException
- Throws:
com.synopsys.integration.exception.IntegrationException
-
getCurrentContext
public java.util.Optional<PolarisResource<ContextAttributes>> getCurrentContext() throws com.synopsys.integration.exception.IntegrationException
- Throws:
com.synopsys.integration.exception.IntegrationException
-
-