Package org.forgerock.openig.tools.am
Class AmService.Discovery
- java.lang.Object
-
- org.forgerock.openig.tools.am.AmService.Discovery
-
- Enclosing class:
- AmService
public static final class AmService.Discovery extends Object
A pre-builder class used to discover AM details such as its version and expected cookie name. It produces aAmService.Builder
object once information have been fetched from AM and computed.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Promise<AmService.Builder,NeverThrowsException>
discover(Clock clock)
Will Call AM instance to get missing information in order to create the AmService builder.
-
-
-
Method Detail
-
discover
public Promise<AmService.Builder,NeverThrowsException> discover(Clock clock)
Will Call AM instance to get missing information in order to create the AmService builder.- Parameters:
clock
- the clock to use.- Returns:
- an instance of an AmService Builder.
-
-