@ Nonnull public static List < DockerCloud > getAllDockerClouds ( ) { return getInstance ( ) . clouds . stream ( ) . filter ( Objects :: nonNull ) . filter ( DockerCloud . class :: isInstance ) . map ( cloud -> ( DockerCloud ) cloud ) . collect ( Collectors . toList ( ) ) ; }
Get the list of Docker servers .