Class ResourceSchemaTestUtil


  • @VisibleForTesting
    public class ResourceSchemaTestUtil
    extends Object
    TEMPORARY! These methods are used in tests. But there is currently no reasonable place in the test code where to put them in. (Or at least I don't see it.)
    • Constructor Detail

      • ResourceSchemaTestUtil

        public ResourceSchemaTestUtil()
    • Method Detail

      • findObjectTypeDefinitionRequired

        @NotNull
        public static @NotNull ResourceObjectTypeDefinition findObjectTypeDefinitionRequired​(@NotNull
                                                                                             @NotNull ResourceSchema schema,
                                                                                             @NotNull
                                                                                             @NotNull ShadowKindType kind,
                                                                                             @Nullable
                                                                                             @Nullable String intent)
        Returns object _type_ definition for given kind and intent.